From 1fecd418e4e93a0bb7c92496746ba75f1d80acd8 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 16 Feb 2014 18:35:33 +0000 Subject: [PATCH] versions: ignore validation errors. References Homebrew/homebrew#26748. --- Library/Homebrew/cmd/versions.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index d646f8aef4..4112c8d39a 100644 --- a/Library/Homebrew/cmd/versions.rb +++ b/Library/Homebrew/cmd/versions.rb @@ -94,7 +94,8 @@ class Formula end IGNORED_EXCEPTIONS = [SyntaxError, TypeError, NameError, - ArgumentError, FormulaSpecificationError] + ArgumentError, FormulaSpecificationError, + FormulaValidationError,] def version_for_sha sha formula_for_sha(sha) {|f| f.version }