From 27288547aaaaba14e2daa6de91b307b381b69742 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 10 Mar 2012 10:26:06 -0800 Subject: Add specialty formulase to inheritance check --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 5ed4228b4..b5e515929 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -9,7 +9,7 @@ end def audit_formula_text name, text problems = [] - if text =~ /<(Formula|AmazonWebServicesFormula)/ + if text =~ /<(Formula|AmazonWebServicesFormula|ScriptFileFormula|GithubGistFormula)/ problems << " * Use a space in class inheritance: class Foo < #{$1}" end -- cgit v1.2.3