summaryrefslogtreecommitdiff
path: root/lib/rubygems/errors.rb
diff options
context:
space:
mode:
authorTakuya Noguchi <[email protected]>2022-07-17 08:08:51 +0000
committerHiroshi SHIBATA <[email protected]>2022-07-22 12:07:23 +0900
commitd7ffd3fea402239b16833cc434404a7af82d44f3 (patch)
tree9794942135111c36e6b6bce69e070ca556b89028 /lib/rubygems/errors.rb
parent388c4e1076ac5a58d5008abc8e0a8d017698875a (diff)
RubyGems: Enable Style/StringLiterals cop
Signed-off-by: Takuya Noguchi <[email protected]>
Diffstat (limited to 'lib/rubygems/errors.rb')
-rw-r--r--lib/rubygems/errors.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/errors.rb b/lib/rubygems/errors.rb
index e6e222033d..ac82a551a5 100644
--- a/lib/rubygems/errors.rb
+++ b/lib/rubygems/errors.rb
@@ -136,8 +136,8 @@ module Gem
"Found %s (%s), but was for platform%s %s" %
[@name,
@version,
- @platforms.size == 1 ? '' : 's',
- @platforms.join(' ,')]
+ @platforms.size == 1 ? "" : "s",
+ @platforms.join(" ,")]
end
end