Commit 49e6fc40 authored by James Lopez's avatar James Lopez

fix bad refactor

parent a5d59f07
...@@ -13,7 +13,7 @@ module Gitlab ...@@ -13,7 +13,7 @@ module Gitlab
def save def save
if compress_and_save if compress_and_save
remove_@shared.storage_path remove_storage_path
Rails.logger.info("Saved project export #{archive_file}") Rails.logger.info("Saved project export #{archive_file}")
archive_file archive_file
else else
...@@ -30,7 +30,7 @@ module Gitlab ...@@ -30,7 +30,7 @@ module Gitlab
tar_czf(archive: archive_file, dir: @shared.storage_path) tar_czf(archive: archive_file, dir: @shared.storage_path)
end end
def remove_shared.storage_path def remove_storage_path
FileUtils.rm_rf(@shared.storage_path) FileUtils.rm_rf(@shared.storage_path)
end end
......
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