dev-cmd/contributions: Order the CSV by highest contributions total
This commit is contained in:
parent
428193aa29
commit
7b8f1c8714
@ -110,7 +110,7 @@ module Homebrew
|
||||
CSV.generate do |csv|
|
||||
csv << %w[user repo commits coauthorships signoffs total]
|
||||
|
||||
totals.each do |user, total|
|
||||
totals.sort_by { |_, v| -v.values.sum }.each do |user, total|
|
||||
csv << grand_total_row(user, total)
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user