install: do not search taps when a qualified formula is missing
This commit is contained in:
parent
02f0189335
commit
363b26801a
@ -240,6 +240,8 @@ module Homebrew
|
||||
puts "To install one of them, run (for example):\n brew install #{formulae_search_results.first}"
|
||||
end
|
||||
|
||||
# Do not search taps if the formula name is qualified
|
||||
return if e.name =~ %r{/}
|
||||
ohai "Searching taps..."
|
||||
taps_search_results = search_taps(query)
|
||||
case taps_search_results.length
|
||||
|
Loading…
x
Reference in New Issue
Block a user