diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/search.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 9574ba7d6..d84bed227 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -143,7 +143,8 @@ module Homebrew end end - paths = tree["Formula"] || tree["HomebrewFormula"] || tree["Casks"] || tree["."] || [] + paths = tree["Formula"] || tree["HomebrewFormula"] || tree["."] || [] + paths += tree["Casks"] || [] cache[key] = paths.map { |path| File.basename(path, ".rb") } end |
