audit: rescue only FormulaUnavailableError
This commit is contained in:
parent
7f55a6089e
commit
d6b5e4f2ed
@ -130,7 +130,7 @@ class FormulaAuditor
|
|||||||
f.deps.each do |dep|
|
f.deps.each do |dep|
|
||||||
begin
|
begin
|
||||||
dep_f = dep.to_formula
|
dep_f = dep.to_formula
|
||||||
rescue
|
rescue FormulaUnavailableError
|
||||||
problem "Can't find dependency #{dep.name.inspect}."
|
problem "Can't find dependency #{dep.name.inspect}."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user