fix importer issue

This commit is contained in:
James Lopez
2016-05-12 11:03:55 +02:00
parent f06c5516db
commit ff56f7be62
+2 -2
View File
@@ -13,7 +13,7 @@ module Gitlab
end
def import
FileUtils.mkdir_p(@shared.storage_path)
FileUtils.mkdir_p(@shared.export_path)
decompress_archive
rescue => e
@shared.error(e.message)
@@ -23,7 +23,7 @@ module Gitlab
private
def decompress_archive
untar_zxf(archive: @archive_file, dir: @shared.storage_path)
untar_zxf(archive: @archive_file, dir: @shared.export_path)
end
end
end