aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexey Alekhin2017-08-23 17:54:01 +0200
committerAlexey Alekhin2017-08-23 17:54:01 +0200
commit9e2caa8d6a55c0c48c46d916520ab827a23f504e (patch)
treef2c93066a17ccb4a4f24dae27318c579d3ae75ba /Library
parenta5640fdfeeea7347e51c14abac481f4b210527ab (diff)
downloadbrew-9e2caa8d6a55c0c48c46d916520ab827a23f504e.tar.bz2
Fixed style issues
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/search.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb
index 9f4f9f31d..fbc2487ae 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/search.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb
@@ -23,14 +23,13 @@ module Hbc
user: "caskroom",
path: "Casks",
filename: query,
- extension: "rb"
+ extension: "rb",
)
- rescue Exception => e
+ rescue StandardError => e
onoe e
$stderr.puts e.backtrace
[]
end
-
matches.map do |match|
tap = Tap.fetch(match["repository"]["full_name"])
next if tap.installed?