diff --git a/Library/Homebrew/formula_auditor.rb b/Library/Homebrew/formula_auditor.rb index afcfa525f7..68deb02245 100644 --- a/Library/Homebrew/formula_auditor.rb +++ b/Library/Homebrew/formula_auditor.rb @@ -495,7 +495,7 @@ module Homebrew end next if spec.patches.empty? - next unless @new_formula + next if !@new_formula || !@core_tap new_formula_problem( "Formulae should not require patches to build. " \