Merge pull request #9275 from iMichka/audit

audit: do not check for mixed dependencies
This commit is contained in:
Michka Popoff 2020-11-24 13:45:22 +01:00 committed by GitHub
commit 15da2fcb25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
# 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 ", "}