Merge pull request #10219 from alebcay/patch-audit-on-coretap-only

formula_auditor: prohibit patches in new core formulae only
This commit is contained in:
Mike McQuaid 2021-01-06 09:11:28 +00:00 committed by GitHub
commit d617b6d348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -495,7 +495,7 @@ module Homebrew
end
next if spec.patches.empty?
next unless @new_formula
next if !@new_formula || !@core_tap
new_formula_problem(
"Formulae should not require patches to build. " \