From 9e98bbf59ae69186989caf5601a69da8a5fb2c77 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 28 Jul 2024 19:28:19 +0100 Subject: [PATCH] Revert "dev-cmd/contributions: Show only the CSV output for `--csv`" --- Library/Homebrew/dev-cmd/contributions.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/contributions.rb b/Library/Homebrew/dev-cmd/contributions.rb index c991e79e46..be2fd7e46b 100644 --- a/Library/Homebrew/dev-cmd/contributions.rb +++ b/Library/Homebrew/dev-cmd/contributions.rb @@ -86,8 +86,6 @@ module Homebrew contributions << "#{Utils.pluralize("time", grand_totals[username].values.sum, include_count: true)} (total)" - next if args.csv? - puts [ "#{username} contributed", *contributions.to_sentence, @@ -95,7 +93,10 @@ module Homebrew ].join(" ") end - puts generate_csv(grand_totals) if args.csv? + return unless args.csv? + + puts + puts generate_csv(grand_totals) end private