summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-17 16:31:57 +0200
committerJames Lopez <james@jameslopez.es>2016-05-17 16:31:57 +0200
commit20f1e284fe561ae18164bd5b723e11756da95921 (patch)
tree97138187f1e0c0d80c0aba8f0bf2654fd89b9478
parent07c642cb1342c82ff04681964754bc654450ec16 (diff)
parent5bd3e8a8bac61091d5d85bfa44a6a9027e6a7786 (diff)
downloadgitlab-ce-20f1e284fe561ae18164bd5b723e11756da95921.tar.gz
Merge branches 'feature/project-export-ui-experimental' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export-ui-experimental
-rw-r--r--lib/gitlab/import_export/project_tree_saver.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/project_tree_saver.rb b/lib/gitlab/import_export/project_tree_saver.rb
index ce69dd4971e..e4674b6cd0b 100644
--- a/lib/gitlab/import_export/project_tree_saver.rb
+++ b/lib/gitlab/import_export/project_tree_saver.rb
@@ -10,6 +10,8 @@ module Gitlab
end
def save
+ FileUtils.mkdir_p(@shared.export_path)
+
File.write(full_path, project_json_tree)
true
rescue => e