aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorGautham Goli2017-05-24 13:04:55 +0530
committerGautham Goli2017-07-07 20:46:57 +0530
commit4ed34f91c26b3b3449d676fa2067222d318c4d3a (patch)
tree8a92eee4adb12ba728070ed97600065c8389dd9f /Library/Homebrew/dev-cmd
parentb5529084906af89827f6d9befd613457a1615918 (diff)
downloadbrew-4ed34f91c26b3b3449d676fa2067222d318c4d3a.tar.bz2
audit: Port audit_conflicts method to rubocop and add tests
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb9
1 files changed, 0 insertions, 9 deletions
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