Revert "dev-cmd/contributions: Show only the CSV output for --csv"

This commit is contained in:
Issy Long 2024-07-28 19:28:19 +01:00 committed by GitHub
parent df6b06c57e
commit 9e98bbf59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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