Merge pull request #4201 from commitay/audit-patch
audit: add back new formulae condition for patches
This commit is contained in:
commit
2c0474ae4c
@ -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