summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/sources_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 10:47:37 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commiteb80f51c6d9bcb7b450a59beec5cc188d6cfab01 (patch)
tree9b1a9afec497d34b095d8c6976e62dec2efceab6 /lib/rubygems/commands/sources_command.rb
parent05208c3875a12a188e14328ffbd5b2eb21824f24 (diff)
[rubygems/rubygems] util/rubocop -A --only Lint/RedundantStringCoercion
https://github.com/rubygems/rubygems/commit/58e4885493
Diffstat (limited to 'lib/rubygems/commands/sources_command.rb')
-rw-r--r--lib/rubygems/commands/sources_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/sources_command.rb b/lib/rubygems/commands/sources_command.rb
index 5a8f5af9c3..0ed5b4a8f8 100644
--- a/lib/rubygems/commands/sources_command.rb
+++ b/lib/rubygems/commands/sources_command.rb
@@ -70,7 +70,7 @@ class Gem::Commands::SourcesCommand < Gem::Command
def check_typo_squatting(source)
if source.typo_squatting?("rubygems.org")
question = <<-QUESTION.chomp
-#{source.uri.to_s} is too similar to https://rubygems.org
+#{source.uri} is too similar to https://rubygems.org
Do you want to add this source?
QUESTION