Remove uneeded warning message when searching for a cask that was migrated from a formula
This commit is contained in:
parent
70f232ada5
commit
e616a23a0b
@ -100,7 +100,7 @@ module Homebrew
|
||||
puts Formatter.columns(all_casks)
|
||||
end
|
||||
|
||||
if $stdout.tty?
|
||||
if $stdout.tty? && !local_casks.include?(query)
|
||||
count = all_formulae.count + all_casks.count
|
||||
|
||||
if reason = MissingFormula.reason(query, silent: true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user