cmd/upgrade: comment-out broken_dependents functionality.

This is not a fix for https://github.com/Homebrew/brew/issues/6671 but
will stop people hitting this bug for now.
This commit is contained in:
Mike McQuaid 2019-11-05 09:51:17 +00:00
parent 89c5ecce2f
commit 0cf6052fcc
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -360,6 +360,10 @@ module Homebrew
upgrade_formulae(upgradable)
# TODO: re-enable when this code actually works.
# https://github.com/Homebrew/brew/issues/6671
return unless ENV["HOMEBREW_BROKEN_DEPENDENTS"]
# Assess the dependents tree again.
kegs = formulae_with_runtime_dependencies