formula_auditor: prohibit patches in new core formulae only

This commit is contained in:
Caleb Xu 2021-01-04 14:07:21 -05:00
parent 7eca0d77cf
commit 199c64d8c2

View File

@ -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. " \