install: use include instead of regex.
This commit is contained in:
parent
363b26801a
commit
3b14aa2e90
@ -241,7 +241,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Do not search taps if the formula name is qualified
|
# Do not search taps if the formula name is qualified
|
||||||
return if e.name =~ %r{/}
|
return if e.name.include?("/")
|
||||||
ohai "Searching taps..."
|
ohai "Searching taps..."
|
||||||
taps_search_results = search_taps(query)
|
taps_search_results = search_taps(query)
|
||||||
case taps_search_results.length
|
case taps_search_results.length
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user