cmd/unpack: fix Rubocop warnings.
This commit is contained in:
parent
7b41ccd2ea
commit
49e009df29
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user