From 4140671329e6a371dff070416900842ef0106981 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 16 Aug 2014 20:08:38 +0100 Subject: [PATCH] brew-pull: don't barf on syntax errors. --- Library/Contributions/cmd/brew-pull.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb index 5967eb0b9a..f3e7374792 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