Improve message
This commit is contained in:
parent
7a5eb3dbdb
commit
0c520844b4
@ -121,9 +121,8 @@ begin
|
||||
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 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."
|
||||
end
|
||||
# Check for cask explicitly because it's very common in old guides
|
||||
odie "`brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead." if cmd == "cask"
|
||||
odie "Unknown command: #{cmd}"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user