Revert "dev-cmd/contributions: Show only the CSV output for --csv"
This commit is contained in:
parent
df6b06c57e
commit
9e98bbf59a
@ -86,8 +86,6 @@ module Homebrew
|
|||||||
contributions <<
|
contributions <<
|
||||||
"#{Utils.pluralize("time", grand_totals[username].values.sum, include_count: true)} (total)"
|
"#{Utils.pluralize("time", grand_totals[username].values.sum, include_count: true)} (total)"
|
||||||
|
|
||||||
next if args.csv?
|
|
||||||
|
|
||||||
puts [
|
puts [
|
||||||
"#{username} contributed",
|
"#{username} contributed",
|
||||||
*contributions.to_sentence,
|
*contributions.to_sentence,
|
||||||
@ -95,7 +93,10 @@ module Homebrew
|
|||||||
].join(" ")
|
].join(" ")
|
||||||
end
|
end
|
||||||
|
|
||||||
puts generate_csv(grand_totals) if args.csv?
|
return unless args.csv?
|
||||||
|
|
||||||
|
puts
|
||||||
|
puts generate_csv(grand_totals)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user