mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Merge pull request #20201 from Homebrew/fix-dry-run-install
Fix "undefined method 'name' for an instance of FormulaInstaller"
This commit is contained in:
commit
4b85b24531
@ -327,7 +327,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
if dry_run
|
if dry_run
|
||||||
if (formulae_name_to_install = formula_installers.map(&:name))
|
if (formulae_name_to_install = formula_installers.map { |fi| fi.formula.name })
|
||||||
ohai "Would install #{Utils.pluralize("formula", formulae_name_to_install.count,
|
ohai "Would install #{Utils.pluralize("formula", formulae_name_to_install.count,
|
||||||
plural: "e", include_count: true)}:"
|
plural: "e", include_count: true)}:"
|
||||||
puts formulae_name_to_install.join(" ")
|
puts formulae_name_to_install.join(" ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user