diff options
| author | Ben Muschol | 2017-08-14 11:08:56 -0400 |
|---|---|---|
| committer | Ben Muschol | 2017-08-14 11:08:56 -0400 |
| commit | 603bdd01a81e62d6b97a5da26d75d409e839a8fa (patch) | |
| tree | d534aa61e61f803c2f294d84ec3257645a191cc8 /Library/Homebrew/cask/lib | |
| parent | 24da1ecd3de86177f669072c542c9a01e6d6649d (diff) | |
| download | brew-603bdd01a81e62d6b97a5da26d75d409e839a8fa.tar.bz2 | |
Implement PR feedback
Diffstat (limited to 'Library/Homebrew/cask/lib')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/search.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb index 0cc4cc56c..e89dced92 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/search.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb @@ -17,7 +17,7 @@ module Hbc def self.search_remote(query) matches = GitHub.search_code(user: "caskroom", path: "Casks", filename: query, extension: "rb") - Array(matches).map do |match| + matches.map do |match| tap = Tap.fetch(match["repository"]["full_name"]) next if tap.installed? "#{tap.name}/#{File.basename(match["path"], ".rb")}" |
