Skip to content
Snippets Groups Projects
Unverified Commit e616a23a authored by Thomas Plaçais's avatar Thomas Plaçais
Browse files

Remove uneeded warning message when searching for a cask that was migrated from a formula

parent 70f232ad
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ module Homebrew ...@@ -100,7 +100,7 @@ module Homebrew
puts Formatter.columns(all_casks) puts Formatter.columns(all_casks)
end end
if $stdout.tty? if $stdout.tty? && !local_casks.include?(query)
count = all_formulae.count + all_casks.count count = all_formulae.count + all_casks.count
if reason = MissingFormula.reason(query, silent: true) if reason = MissingFormula.reason(query, silent: true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment