Fix method typo

This commit is contained in:
Connor Mann 2021-06-14 11:28:16 -04:00
parent 4b59636ae8
commit 48641f3a3a
No known key found for this signature in database
GPG Key ID: 5886083015754F6F

View File

@ -258,7 +258,7 @@ module Homebrew
Upgrading #{Formatted.identifier(f.name)} #{version_upgrade}
EOS
outdated_kegs = outdated_formulae.map(&:linked_keg).select(&:directory?).map { |k| Keg.new(k.resolved_path) }
linked_kegs = outdated_kegs.select(&:linked)
linked_kegs = outdated_kegs.select(&:linked?)
end
fi = FormulaInstaller.new(