dev-cmd/contributions: Improve sentence string line wrapping
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
33d3aef295
commit
f6b2fe5093
@ -54,9 +54,9 @@ module Homebrew
|
||||
coauthorships += git_log_coauthor_cmd(T.must(repo_path), args)
|
||||
end
|
||||
|
||||
sentence = "Person #{args.named.first} directly authored #{commits} commits"
|
||||
sentence += " and co-authored #{coauthorships} commits"
|
||||
sentence += " to #{args[:repos].join(", ")}"
|
||||
sentence = "Person #{args.named.first} directly authored #{commits} commits" \
|
||||
" and co-authored #{coauthorships} commits" \
|
||||
" to #{args[:repos].join(", ")}"
|
||||
sentence += if args[:from] && args[:to]
|
||||
" between #{args[:from]} and #{args[:to]}"
|
||||
elsif args[:from]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user