aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-12-15 15:33:27 +0100
committerBaptiste Fontaine2015-12-15 15:52:05 +0100
commit50f94e5233877713b9ebcff94f48f623f53b278e (patch)
treeb2916b8f4af5dd85acc1f1d2f205b82cbbc7bf87 /Library
parent214c865167cb11c05841aef9d3ff25399e7f6b73 (diff)
downloadbrew-50f94e5233877713b9ebcff94f48f623f53b278e.tar.bz2
audit: don't fail if there's no tap
Closes Homebrew/homebrew#47041. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 5e3038c71..c9cd19189 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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