versions: ignore validation errors.

References Homebrew/homebrew#26748.
This commit is contained in:
Mike McQuaid 2014-02-16 18:35:33 +00:00
parent 63629ab13b
commit 1fecd418e4

View File

@ -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 }