Simple spec fixes

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