Simple spec fixes

parent 1735e1e6
......@@ -125,7 +125,6 @@ module Backup
end
end
# rubocop: disable Cop/AvoidReturnFromBlocks
def unpack
Dir.chdir(backup_path) do
if ENV['BACKUP'].present?
......@@ -166,7 +165,6 @@ module Backup
end
true
end
# rubocop: enable Cop/AvoidReturnFromBlocks
def tar_version
tar_version, _ = Gitlab::Popen.popen(%w(tar --version))
......
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