[rubygems/rubygems] bin/rubocop -a --only Style/StringLiterals

https://github.com/rubygems/rubygems/commit/62e1bf2d37
This commit is contained in:
Hiroshi SHIBATA 2025-04-25 13:33:46 +09:00
parent 24c838f92e
commit b3566e9ef2
Notes: git 2025-04-25 07:25:36 +00:00

View File

@ -88,8 +88,8 @@ module Gem::GemcutterUtilities
query = uri.query
return unless query && !query.empty?
query.split('&') do |param|
key, value = param.split('=', 2)
query.split("&") do |param|
key, value = param.split("=", 2)
if value && Gem::URI.decode_www_form_component(key) == "code"
return Gem::URI.decode_www_form_component(value)
end