diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:52:28 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | f8fe151ca99233e7d133e2952f9b989c5290c825 (patch) | |
tree | abf775744aa3065bc3686e7c8dab56d0954a113e /lib/rubygems/request.rb | |
parent | 31c572f4fade8d061b151bd70dfca0b79da664e3 (diff) |
util/rubocop -A --only Style/TernaryParentheses
Diffstat (limited to 'lib/rubygems/request.rb')
-rw-r--r-- | lib/rubygems/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/request.rb b/lib/rubygems/request.rb index 5657f48e07..82c7f2b297 100644 --- a/lib/rubygems/request.rb +++ b/lib/rubygems/request.rb @@ -171,7 +171,7 @@ class Gem::Request no_env_proxy = env_proxy.nil? || env_proxy.empty? if no_env_proxy - return (_scheme == "https" || _scheme == "http") ? + return _scheme == "https" || _scheme == "http" ? :no_proxy : get_proxy_from_env("http") end |