diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index d05c0b1876..28464e512c 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -124,7 +124,7 @@ module Homebrew end end - return if !formula.core_formula? && formula.path == formula.tap.new_formula_path(formula.name) + return if !formula.core_formula? || formula.path == formula.tap.new_formula_path(formula.name) problem <<~EOS Formula is in wrong path: