audit: remove "new formula" from messaging.

This commit is contained in:
Mike McQuaid 2018-05-22 09:55:41 +01:00
parent 1c91c83eac
commit 8401cffe41

View File

@ -535,7 +535,7 @@ module Homebrew
end end
next if spec.patches.empty? next if spec.patches.empty?
new_formula_problem "New formulae should not require patches to build. Patches should be submitted and accepted upstream first." new_formula_problem "Formulae should not require patches to build. Patches should be submitted and accepted upstream first."
end end
%w[Stable Devel].each do |name| %w[Stable Devel].each do |name|
@ -558,7 +558,7 @@ module Homebrew
end end
if @new_formula && formula.head if @new_formula && formula.head
new_formula_problem "New formulae should not have a HEAD spec" new_formula_problem "Formulae should not have a HEAD spec"
end end
unstable_whitelist = %w[ unstable_whitelist = %w[