audit: uniformize the desc problems

Closes Homebrew/homebrew#45492.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Baptiste Fontaine 2015-10-30 00:47:47 +01:00
parent a5f6295b62
commit 18bda1c9b1

View File

@ -390,7 +390,7 @@ class FormulaAuditor
end
if desc =~ /^([Aa]n?)\s/
problem "Please remove the indefinite article \"#{$1}\" from the beginning of the description"
problem "Description shouldn't start with an indefinite article (#{$1})"
end
if desc =~ /^#{formula.name} is\s/i