Skip to content
Snippets Groups Projects
Commit 120c1695 authored by Michka Popoff's avatar Michka Popoff
Browse files

audit: do not check for mixed dependencies

- for disabled formulae
- for deprecated formulae, except for the versioned ones.
parent 7085c370
No related branches found
No related tags found
No related merge requests found
# typed: false
# frozen_string_literal: true
require "deprecate_disable"
require "formula_text_auditor"
require "resource_auditor"
......@@ -325,6 +326,11 @@ module Homebrew
return if version_conflicts.empty?
return if formula.disabled?
return if formula.deprecated? &&
formula.deprecation_reason != DeprecateDisable::DEPRECATE_DISABLE_REASONS[:versioned_formula]
problem <<~EOS
#{formula.full_name} contains conflicting version recursive dependencies:
#{version_conflicts.to_a.join ", "}
......
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