audit: handle head/devel-only correctly.
This commit is contained in:
parent
307ea17ba3
commit
0161d50d7a
@ -401,11 +401,11 @@ class FormulaAuditor
|
||||
end
|
||||
|
||||
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)"
|
||||
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)"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user