Merge pull request #10219 from alebcay/patch-audit-on-coretap-only
formula_auditor: prohibit patches in new core formulae only
This commit is contained in:
commit
d617b6d348
@ -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. " \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user