mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
versions: ignore NameError and ArgumentError
Fixes #9856. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
647eccca8f
commit
be18671765
1 file changed
+1
-1
@@ -69,7 +69,7 @@ class Formula
|
||||
version = nostdout { Formula.factory(path).version }
|
||||
Object.send(:remove_const, Formula.class_s(name))
|
||||
version
|
||||
rescue SyntaxError, TypeError
|
||||
rescue SyntaxError, TypeError, NameError, ArgumentError
|
||||
# We rescue these so that we can skip bad versions and
|
||||
# continue walking the history
|
||||
nil
|
||||
|
||||
Reference in new issue
Block a user