Fix rubocop warning
This commit is contained in:
parent
9e2c5910c5
commit
7a5eb3dbdb
@ -121,7 +121,7 @@ begin
|
|||||||
possible_tap = Tap.fetch(possible_tap.first) if possible_tap
|
possible_tap = Tap.fetch(possible_tap.first) if possible_tap
|
||||||
|
|
||||||
if !possible_tap || possible_tap.installed? || Tap.untapped_official_taps.include?(possible_tap.name)
|
if !possible_tap || possible_tap.installed? || Tap.untapped_official_taps.include?(possible_tap.name)
|
||||||
if cmd == 'cask' # Check for cask explicitly because it's very common in old guides
|
if cmd == "cask" # Check for cask explicitly because it's very common in old guides
|
||||||
odie "`brew cask <command>` is no longer supported. Use `brew <command> --cask` instead."
|
odie "`brew cask <command>` is no longer supported. Use `brew <command> --cask` instead."
|
||||||
end
|
end
|
||||||
odie "Unknown command: #{cmd}"
|
odie "Unknown command: #{cmd}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user