Skip to content

Commit

Permalink
Merge pull request #16959 from nwhetsell/puts-version-upgrade
Browse files Browse the repository at this point in the history
Output version upgrade info using `puts`
  • Loading branch information
MikeMcQuaid committed Mar 28, 2024
2 parents b63334c + ed30726 commit bb66f87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Library/Homebrew/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,8 @@ def print_upgrade_message(formula, fi_options)
else
"-> #{formula.pkg_version}"
end
oh1 <<~EOS
Upgrading #{Formatter.identifier(formula.full_specified_name)}
#{version_upgrade} #{fi_options.to_a.join(" ")}
EOS
oh1 "Upgrading #{Formatter.identifier(formula.full_specified_name)}"
puts " #{version_upgrade} #{fi_options.to_a.join(" ")}"
end

def create_formula_installer(
Expand Down

0 comments on commit bb66f87

Please sign in to comment.