Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit cf515fe

Browse files
committed
update-report: don't duplicate "already updated".
This would be displayed more than once when verbose output was enabled. Closes #48469.
1 parent dd25bf6 commit cf515fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Library/Homebrew/cmd/update-report.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ def update_report
3434
puts "Updated #{updated_taps.size} tap#{plural(updated_taps.size)} " \
3535
"(#{updated_taps.join(", ")})."
3636
end
37-
puts "Already up-to-date." unless master_updated || !updated_taps.empty?
37+
38+
if !master_updated && updated_taps.empty? && !ARGV.verbose?
39+
puts "Already up-to-date."
40+
end
3841

3942
Tap.clear_cache
4043
Tap.each(&:link_manpages)

0 commit comments

Comments
 (0)