Add specialty formulase to inheritance check

This commit is contained in:
Adam Vandenberg 2012-03-10 10:26:06 -08:00
parent c947dbc580
commit 27288547aa

View File

@ -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