diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index d18e3b821..457df5fc7 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -532,8 +532,10 @@ class FormulaAuditor end end + versioned_conflicts_whitelist = %w[node@ bash-completion@].freeze + return unless formula.conflicts.any? && formula.versioned_formula? - return if formula.name.start_with? "node@" + return if formula.name.start_with?(*versioned_conflicts_whitelist) problem <<-EOS Versioned formulae should not use `conflicts_with`. Use `keg_only :versioned_formula` instead. |
