formula_auditor: prohibit patches in new core formulae only
This commit is contained in:
parent
7eca0d77cf
commit
199c64d8c2
@ -495,7 +495,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
next if spec.patches.empty?
|
next if spec.patches.empty?
|
||||||
next unless @new_formula
|
next if !@new_formula || !@core_tap
|
||||||
|
|
||||||
new_formula_problem(
|
new_formula_problem(
|
||||||
"Formulae should not require patches to build. " \
|
"Formulae should not require patches to build. " \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user