fix bad refactor

This commit is contained in:
James Lopez 2016-05-11 13:17:49 +02:00
parent a5d59f075a
commit 49e6fc40b9
1 changed files with 2 additions and 2 deletions

View File

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