diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-22 13:14:27 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-23 17:18:49 +0900 |
commit | 8a364b8512b84530cadfe9f27557fa0306ad9856 (patch) | |
tree | d5576388a7177ec31651f439f913e24797edda5c /lib/rubygems/request.rb | |
parent | 5efadf81393f3395837fede8f078ac97e485e4a5 (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/MultilineTernaryOperator
https://github.com/rubygems/rubygems/commit/be853dfe3b
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7582
Diffstat (limited to 'lib/rubygems/request.rb')
-rw-r--r-- | lib/rubygems/request.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 30e2582ac5..0303649d05 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -171,8 +171,7 @@ class Gem::Request no_env_proxy = env_proxy.nil? || env_proxy.empty? if no_env_proxy - return ["https", "http"].include?(downcase_scheme) ? - :no_proxy : get_proxy_from_env("http") + return ["https", "http"].include?(downcase_scheme) ? :no_proxy : get_proxy_from_env("http") end require "uri" |