Skip to content
Snippets Groups Projects
Commit 226c24ae authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #2498 from zmwangx/do-not-search-taps-for-missing-qualified-formula

install: do not search taps when a qualified formula is missing
parents d950573f 3b14aa2e
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.include?("/")
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