[rubygems/rubygems] bin/rubocop -a --only Style/StringLiterals
https://github.com/rubygems/rubygems/commit/62e1bf2d37
This commit is contained in:
parent
24c838f92e
commit
b3566e9ef2
Notes:
git
2025-04-25 07:25:36 +00:00
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user