audit: add back new formulae condition for patches
This commit is contained in:
parent
18d450122a
commit
c297d39420
@ -541,6 +541,7 @@ module Homebrew
|
||||
end
|
||||
|
||||
next if spec.patches.empty?
|
||||
next unless @new_formula
|
||||
new_formula_problem "Formulae should not require patches to build. Patches should be submitted and accepted upstream first."
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user