Merge pull request #8888 from MikeMcQuaid/audit-versioned-conflicts

audit: allow Linux checking Homebrew dependencies.
This commit is contained in:
Mike McQuaid 2020-10-09 13:39:02 +01:00 committed by GitHub
commit 90b92301ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,7 @@ module Homebrew
# The number of conflicts on Linux is absurd.
# TODO: remove this and check these there too.
return if OS.linux?
return if OS.linux? && !Homebrew::EnvConfig.force_homebrew_on_linux?
recursive_runtime_formulae = formula.runtime_formula_dependencies(undeclared: false)
version_hash = {}