diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-06 13:29:45 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-12-08 14:11:51 +0100 |
commit | fd38d08caaaa5fa4b1a5ff8848ed55b843208f55 (patch) | |
tree | 98fd7d1d017f2c025e3a12d7bcfd747d50d30872 /lib/bundler/settings.rb | |
parent | 61b74aecc9eec4e43f9fcfe73a008b03f7d5e4f1 (diff) | |
download | bundler-fd38d08caaaa5fa4b1a5ff8848ed55b843208f55.tar.gz |
Remove unneeded `to_s` calls
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r-- | lib/bundler/settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index 403ea8ec18..241b921330 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -151,7 +151,7 @@ module Bundler def mirror_for(uri) require "uri" - uri = URI(uri.to_s) unless uri.is_a?(URI) + uri = URI(uri) unless uri.is_a?(URI) gem_mirrors.for(uri.to_s).uri end |