diff options
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 0ebe7b12a..708d6a3bc 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -354,7 +354,10 @@ class FormulaAuditor      # Make sure the formula name plus description is no longer than 80 characters      linelength = formula.full_name.length + ": ".length + desc.length      if linelength > 80 -      problem "Description is too long. \"name: desc\" should be less than 80 characters (currently #{linelength})." +      problem <<-EOS.undent +        Description is too long. \"name: desc\" should be less than 80 characters. +        Length is calculated as #{formula.full_name} + desc. (currently #{linelength}) +      EOS      end      if desc =~ %r[[Cc]ommandline]  | 
