summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-04-07 09:15:17 +0900
committergit <svn-admin@ruby-lang.org>2023-04-07 05:13:05 +0000
commit250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 (patch)
treeb9018bb2916c2e007b7f57981295e4c4f0fd5adc /lib/rubygems.rb
parent84ce6fc87347c15cc81939de2d1872984711a4ed (diff)
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
https://github.com/rubygems/rubygems/commit/132a56569d
Diffstat (limited to 'lib/rubygems.rb')
-rw-r--r--lib/rubygems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index ecd29c91e2..de0c8b84c3 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -948,7 +948,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
elapsed = Time.now - now
- ui.say "%2$*1$s: %3$3.3fs" % [-width, msg, elapsed] if display
+ ui.say format("%2$*1$s: %3$3.3fs", -width, msg, elapsed) if display
value
end