silence no-op upgrade warning in upgrade.rb

This commit is contained in:
Eric Sampson 2024-07-19 09:26:05 -05:00
parent d40ab11784
commit 8bb1ba13be

View File

@ -175,7 +175,7 @@ module Homebrew
if latest_keg.nil?
ofail "#{f.full_specified_name} not installed"
else
opoo "#{f.full_specified_name} #{latest_keg.version} already installed"
opoo "#{f.full_specified_name} #{latest_keg.version} already installed" unless args.quiet?
end
end
end