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

install: use include instead of regex.

parent 363b2680
No related branches found
No related tags found
No related merge requests found
......@@ -241,7 +241,7 @@ module Homebrew
end
# Do not search taps if the formula name is qualified
return if e.name =~ %r{/}
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