diff options
author | James Lopez <james@jameslopez.es> | 2016-05-17 16:30:50 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-17 16:30:50 +0200 |
commit | 5bd3e8a8bac61091d5d85bfa44a6a9027e6a7786 (patch) | |
tree | d10665ebbb63ec6010ca979e4ac6733987be0e42 /lib/gitlab/import_export/project_tree_saver.rb | |
parent | f48184cbc6d8951156ac5af6821f0a47dbc1c588 (diff) | |
parent | 7733f56d80f84ada4c4fef8cc4a5ab9357af0dc5 (diff) | |
download | gitlab-ce-5bd3e8a8bac61091d5d85bfa44a6a9027e6a7786.tar.gz |
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
Diffstat (limited to 'lib/gitlab/import_export/project_tree_saver.rb')
-rw-r--r-- | lib/gitlab/import_export/project_tree_saver.rb | 2 |
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 |