dev-cmd/contributions: RuboCop has opinions on where spaces should go

This commit is contained in:
Issy Long 2022-07-25 10:52:32 +01:00
parent 70c300daf2
commit 5a34bc86c4
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -54,9 +54,9 @@ module Homebrew
coauthorships += git_log_coauthor_cmd(T.must(repo_path), args) coauthorships += git_log_coauthor_cmd(T.must(repo_path), args)
end end
sentence = "Person #{args.named.first} directly authored #{commits} commits" \ sentence = "Person #{args.named.first} directly authored #{commits} commits " \
" and co-authored #{coauthorships} commits" \ "and co-authored #{coauthorships} commits " \
" to #{args[:repos].join(", ")}" "to #{args[:repos].join(", ")}"
sentence += if args[:from] && args[:to] sentence += if args[:from] && args[:to]
" between #{args[:from]} and #{args[:to]}" " between #{args[:from]} and #{args[:to]}"
elsif args[:from] elsif args[:from]