Skip to content
Snippets Groups Projects
Unverified Commit 363b2680 authored by Zhiming Wang's avatar Zhiming Wang
Browse files

install: do not search taps when a qualified formula is missing

parent 02f01893
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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