Commit bd5c749f authored by James Lopez's avatar James Lopez

fix file.write

parent 86e47510
...@@ -9,9 +9,7 @@ module Gitlab ...@@ -9,9 +9,7 @@ module Gitlab
def save def save
FileUtils.mkdir_p(@shared.export_path) FileUtils.mkdir_p(@shared.export_path)
File.open(version_file, 'w') do |file| File.write(version_file, Gitlab::ImportExport.version, mode: 'w')
file.write(Gitlab::ImportExport.version)
end
rescue => e rescue => e
@shared.error(e.message) @shared.error(e.message)
false false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment