summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/import_export.rake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/import_export.rake')
-rw-r--r--lib/tasks/gitlab/import_export.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/import_export.rake b/lib/tasks/gitlab/import_export.rake
index 900dbf7be24..5365bd3920f 100644
--- a/lib/tasks/gitlab/import_export.rake
+++ b/lib/tasks/gitlab/import_export.rake
@@ -7,7 +7,7 @@ namespace :gitlab do
desc "GitLab | Display exported DB structure"
task data: :environment do
- puts YAML.load_file(Gitlab::ImportExport.config_file)['project_tree'].to_yaml(SortKeys: true)
+ puts Gitlab::ImportExport::Config.new.to_h['project_tree'].to_yaml(SortKeys: true)
end
desc 'GitLab | Bumps the Import/Export version in fixtures and project templates'