Merge pull request #4201 from commitay/audit-patch

audit: add back new formulae condition for patches
This commit is contained in:
ilovezfs 2018-05-22 18:04:14 -07:00 committed by GitHub
commit 2c0474ae4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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