audit: don't fail if there's no tap
Closes Homebrew/homebrew#47041. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
214c865167
commit
50f94e5233
@ -235,7 +235,7 @@ class FormulaAuditor
|
||||
def audit_formula_name
|
||||
return unless @strict
|
||||
# skip for non-official taps
|
||||
return unless formula.tap.official?
|
||||
return if formula.tap.nil? || !formula.tap.official?
|
||||
|
||||
name = formula.name
|
||||
full_name = formula.full_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user