diff options
author | James Lopez <james@jameslopez.es> | 2018-09-07 14:42:49 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-09-07 14:42:49 +0300 |
commit | 27442862cf81881c81552e64d0b4d3354535c45e (patch) | |
tree | a05e89cdad1f455971748b74f4092ca3992de8b8 /lib/tasks | |
parent | a2aa505805478540b3150b2f9093c8658e18597d (diff) |
refactor code based on feedback
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/update_templates.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/update_templates.rake b/lib/tasks/gitlab/update_templates.rake index 3c873ba3a20..be22032287c 100644 --- a/lib/tasks/gitlab/update_templates.rake +++ b/lib/tasks/gitlab/update_templates.rake @@ -54,7 +54,7 @@ namespace :gitlab do end Projects::ImportExport::ExportService.new(project, admin).execute - download_or_copy_upload(project.import_export_upload.export_file, template.archive_path) + download_or_copy_upload( project.export_file, template.archive_path) Projects::DestroyService.new(admin, project).execute puts "Exported #{template.name}".green end |