From 4ed34f91c26b3b3449d676fa2067222d318c4d3a Mon Sep 17 00:00:00 2001 From: Gautham Goli Date: Wed, 24 May 2017 13:04:55 +0530 Subject: audit: Port audit_conflicts method to rubocop and add tests --- Library/Homebrew/dev-cmd/audit.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Library/Homebrew/dev-cmd') diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 443a45816..eb72d1121 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -519,15 +519,6 @@ class FormulaAuditor problem "Ambiguous conflicting formula #{c.name.inspect}." end end - - versioned_conflicts_whitelist = %w[node@ bash-completion@].freeze - - return unless formula.conflicts.any? && formula.versioned_formula? - return if formula.name.start_with?(*versioned_conflicts_whitelist) - problem <<-EOS - Versioned formulae should not use `conflicts_with`. - Use `keg_only :versioned_formula` instead. - EOS end def audit_keg_only_style -- cgit v1.2.3