diff --git a/Library/Homebrew/dev-cmd/contributions.rb b/Library/Homebrew/dev-cmd/contributions.rb index c991e79e46e22..be2fd7e46b003 100644 --- a/Library/Homebrew/dev-cmd/contributions.rb +++ b/Library/Homebrew/dev-cmd/contributions.rb @@ -86,8 +86,6 @@ def run 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 @@ def run ].join(" ") end - puts generate_csv(grand_totals) if args.csv? + return unless args.csv? + + puts + puts generate_csv(grand_totals) end private