Fix rubocop warning

This commit is contained in:
Phoenix Eliot 2022-02-08 12:14:00 -05:00
parent 9e2c5910c5
commit 7a5eb3dbdb

View File

@ -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}"