cmd/unpack: fix Rubocop warnings.

This commit is contained in:
Mike McQuaid 2016-09-10 10:24:57 +01:00
parent 7b41ccd2ea
commit 49e009df29

View File

@ -43,13 +43,12 @@ module Homebrew
end
ENV["VERBOSE"] = nil
if ARGV.git?
ohai "Setting up git repository"
cd stage_dir
system "git", "init", "-q"
system "git", "add", "-A"
system "git", "commit", "-q", "-m", "brew-unpack"
end
next unless ARGV.git?
ohai "Setting up git repository"
cd stage_dir
system "git", "init", "-q"
system "git", "add", "-A"
system "git", "commit", "-q", "-m", "brew-unpack"
end
end
end