diff options
author | James Lopez <james@jameslopez.es> | 2016-05-06 13:40:02 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-06 13:40:02 +0200 |
commit | ce598b05414d52b31437dbe19412eb6a9a16f1b5 (patch) | |
tree | 34349e8e2c95ae01c0e219cedd42e335ef0e9321 /app/services | |
parent | 6612ca096a496caaa0d30724190964df8aac2f46 (diff) | |
download | gitlab-ce-ce598b05414d52b31437dbe19412eb6a9a16f1b5.tar.gz |
fixed and refactored a few things based on MR feedback
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/import_export/export_service.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/services/projects/import_export/export_service.rb b/app/services/projects/import_export/export_service.rb index 47ceff18af6..fd569e1c9ae 100644 --- a/app/services/projects/import_export/export_service.rb +++ b/app/services/projects/import_export/export_service.rb @@ -5,10 +5,7 @@ module Projects def execute(options = {}) @shared = Gitlab::ImportExport::Shared.new(relative_path: File.join(project.path_with_namespace, 'work')) # TODO handle errors - save_project_tree - bundle_repo - bundle_wiki_repo - save_all + save_all if [save_project_tree, bundle_repo, bundle_wiki_repo].all? end private |