aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-12-06 22:39:59 +0800
committerXu Cheng2015-12-09 16:56:59 +0800
commitd948ec231dc4b6a10ab30b405fd9bc350d9737df (patch)
treef1af7d648cf76445d007dab00cefe52b098c7855 /Library
parent8b510f82c47899b18bd78f197ac0d02d0b691f0e (diff)
downloadbrew-d948ec231dc4b6a10ab30b405fd9bc350d9737df.tar.bz2
audit: tap is a Tap object now
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 506a6b190..ac85319bb 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 if !formula.core_formula? && !formula.tap.to_s.start_with?("homebrew")
+ return unless formula.tap.official?
name = formula.name
full_name = formula.full_name