audit: add back new formulae condition for patches

This commit is contained in:
commitay 2018-05-23 07:36:59 +10:00
parent 18d450122a
commit c297d39420

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