audit: handle head/devel-only correctly.

This commit is contained in:
Mike McQuaid 2015-02-27 16:13:04 +00:00
parent 307ea17ba3
commit 0161d50d7a

View File

@ -401,11 +401,11 @@ class FormulaAuditor
end end
def audit_specs def audit_specs
if head_only?(formula) && formula.tap != "Homebrew/homebrew-head-only" if head_only?(formula) && formula.tap.downcase != "homebrew/homebrew-head-only"
problem "Head-only (no stable download)" problem "Head-only (no stable download)"
end end
if devel_only?(formula) && formula.tap != "Homebrew/homebrew-devel-only" if devel_only?(formula) && formula.tap.downcase != "homebrew/homebrew-devel-only"
problem "Devel-only (no stable download)" problem "Devel-only (no stable download)"
end end