diff options
| author | Mike McQuaid | 2017-06-02 22:19:04 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2017-06-02 22:19:04 +0100 | 
| commit | 8d2794212fae130a2e2013f6b0dd8c512b9eeec1 (patch) | |
| tree | 7de7992bf23fc29761fce03f88341a1bdded3cc0 /Library/Homebrew/cmd/search.rb | |
| parent | 0731a68cde75206682ed972beb47930afa3c434e (diff) | |
| download | brew-8d2794212fae130a2e2013f6b0dd8c512b9eeec1.tar.bz2 | |
search: don’t exclude Caskroom results even if tapped.
As they are not shown in the normal `brew search` output.
Diffstat (limited to 'Library/Homebrew/cmd/search.rb')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index f71a14ba1..ca50e8127 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -107,7 +107,7 @@ module Homebrew        dirname, filename = File.split(match["path"])        next unless valid_dirnames.include?(dirname)        tap = Tap.fetch(match["repository"]["full_name"]) -      next if tap.installed? +      next if tap.installed? && match["repository"]["owner"]["login"] != "caskroom"        "#{tap.name}/#{File.basename(filename, ".rb")}"      end.compact    end  | 
