'upradable' typo for 'upgradeable_dependents'

This commit is contained in:
Paul 2019-11-07 22:58:02 +07:00 committed by GitHub
parent 7f3db8bfac
commit 2e55eac802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ module Homebrew
ohai "No outdated dependents to upgrade!" ohai "No outdated dependents to upgrade!"
else else
plural = "dependent".pluralize(upgradeable_dependents.count) plural = "dependent".pluralize(upgradeable_dependents.count)
ohai "Upgrading #{upgradable.count} #{plural}:" ohai "Upgrading #{upgradeable_dependents.count} #{plural}:"
formulae_upgrades = upgradeable_dependents.map do |f| formulae_upgrades = upgradeable_dependents.map do |f|
name = f.full_specified_name name = f.full_specified_name
if f.optlinked? if f.optlinked?