From f6b2fe50935f75d8bc258da2600f005faa0722da Mon Sep 17 00:00:00 2001 From: Issy Long Date: Mon, 25 Jul 2022 10:30:12 +0100 Subject: [PATCH] dev-cmd/contributions: Improve sentence string line wrapping Co-authored-by: Mike McQuaid --- Library/Homebrew/dev-cmd/contributions.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/contributions.rb b/Library/Homebrew/dev-cmd/contributions.rb index e035f27081..9a7960e117 100755 --- a/Library/Homebrew/dev-cmd/contributions.rb +++ b/Library/Homebrew/dev-cmd/contributions.rb @@ -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]