diff options
| author | Mike McQuaid | 2017-04-17 14:56:04 +0100 | 
|---|---|---|
| committer | GitHub | 2017-04-17 14:56:04 +0100 | 
| commit | 3b14aa2e90b63e6a694b985653268a1643fb6f14 (patch) | |
| tree | 0703694b285aab4fd4eecfcf0ba511f2414b9336 /Library/Homebrew/cmd | |
| parent | 363b26801a841faf7590f13a10cdd111bb0f4192 (diff) | |
| download | brew-3b14aa2e90b63e6a694b985653268a1643fb6f14.tar.bz2 | |
install: use include instead of regex.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 2b54844fc..fd7aede86 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -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  | 
