mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 23:46:56 +00:00
audit: handle head/devel-only correctly.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user