diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index ca5891efd..67ecbffa7 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -392,6 +392,10 @@ class FormulaAuditor if desc =~ /^([Aa]n?)\s/ problem "Please remove the indefinite article \"#{$1}\" from the beginning of the description" end + + if desc =~ /^#{formula.name} is\s/i + problem "Description shouldn't include the formula name" + end end def audit_homepage |
