aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-08-16 20:08:38 +0100
committerMike McQuaid2014-08-16 20:08:45 +0100
commit4140671329e6a371dff070416900842ef0106981 (patch)
treeaada91381056a772514990dadc4012251b27655a /Library
parent2d91613d06ae3f1a8fa84f087d9f6e3a6ff89e31 (diff)
downloadbrew-4140671329e6a371dff070416900842ef0106981.tar.bz2
brew-pull: don't barf on syntax errors.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 5967eb0b9..f3e737479 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -99,7 +99,8 @@ ARGV.named.each do |arg|
begin
changed_formulae << Formula[name]
- rescue
+ # Make sure we catch syntax errors.
+ rescue Exception => e
next
end
end