Skip to content
Snippets Groups Projects
Commit 4f0505f7 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

audit: only warn on versioned conflicts_with.

Rather than all versioned formulae regardless. Oops.
parent a5019d28
No related branches found
No related tags found
No related merge requests found
......@@ -459,7 +459,7 @@ class FormulaAuditor
end
def audit_conflicts
if formula.versioned_formula?
if formula.conflicts.any? && formula.versioned_formula?
problem <<-EOS
Versioned formulae should not use `conflicts_with`.
Use `keg_only :versioned_formula` instead.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment