mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
audit: freeze versioned_conflicts_whitelist
This commit is contained in:
parent
460c4a3200
commit
3db3b08d72
@ -532,7 +532,7 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
versioned_conflicts_whitelist = %w[node@ bash-completion@]
|
versioned_conflicts_whitelist = %w[node@ bash-completion@].freeze
|
||||||
|
|
||||||
return unless formula.conflicts.any? && formula.versioned_formula?
|
return unless formula.conflicts.any? && formula.versioned_formula?
|
||||||
return if formula.name.start_with?(*versioned_conflicts_whitelist)
|
return if formula.name.start_with?(*versioned_conflicts_whitelist)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user