Highlight new revision message

This commit is contained in:
Darren Kavanagh 2022-07-07 14:17:00 -07:00
parent a25f827b8f
commit b878d9c1ca
No known key found for this signature in database
GPG Key ID: A258D1E837E3C689

View File

@ -135,7 +135,7 @@ module Homebrew
Settings.write "latesttag", new_tag if new_tag != old_tag
if new_tag == old_tag
puts "Updated Homebrew from #{shorten_revision(initial_revision)} to #{shorten_revision(current_revision)}."
ohai "Updated Homebrew from #{shorten_revision(initial_revision)} to #{shorten_revision(current_revision)}."
elsif old_tag.blank?
ohai "Updated Homebrew from #{shorten_revision(initial_revision)} " \
"to #{new_tag} (#{shorten_revision(current_revision)})."