Merge pull request #17889 from Homebrew/revert-17887-contributions-show-only-csv-in-csv-mode

This commit is contained in:
Patrick Linnane 2024-07-28 12:48:01 -07:00 committed by GitHub
commit c16f79aa10
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