Merge pull request #14812 from issyl0/contributions-order-maintiainers
dev-cmd/contributions: Order the CSV by highest contributions total
This commit is contained in:
commit
66303bd092
@ -110,7 +110,7 @@ module Homebrew
|
|||||||
CSV.generate do |csv|
|
CSV.generate do |csv|
|
||||||
csv << %w[user repo commits coauthorships signoffs total]
|
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)
|
csv << grand_total_row(user, total)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user