diff options
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index a37317d99..f4e43a9e1 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -15,9 +15,9 @@ end def audit_formula_text name, text problems = [] - if text =~ /<Formula/ - problems << " * Use a space in class inheritance: class Foo < Formula" - end if strict? + if text =~ /<(Formula|AmazonWebServicesFormula)/ + problems << " * Use a space in class inheritance: class Foo < #{$1}" + end # Commented-out cmake support from default template if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/) |
