diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-04-07 09:15:17 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-04-07 05:13:05 +0000 |
commit | 250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 (patch) | |
tree | b9018bb2916c2e007b7f57981295e4c4f0fd5adc /lib/rubygems/commands/help_command.rb | |
parent | 84ce6fc87347c15cc81939de2d1872984711a4ed (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
https://github.com/rubygems/rubygems/commit/132a56569d
Diffstat (limited to 'lib/rubygems/commands/help_command.rb')
-rw-r--r-- | lib/rubygems/commands/help_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/help_command.rb b/lib/rubygems/commands/help_command.rb index e0192c41e6..043e7d3691 100644 --- a/lib/rubygems/commands/help_command.rb +++ b/lib/rubygems/commands/help_command.rb @@ -343,7 +343,7 @@ platform. end summary = wrap(summary, summary_width).split "\n" - out << sprintf(format, cmd_name, summary.shift) + out << format(format, cmd_name, summary.shift) until summary.empty? do out << "#{wrap_indent}#{summary.shift}" end |