aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2019-05-30 20:34:44 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-31 07:47:00 +0800
commitd74ea2eeb22e9db8a8003804ca48bd84629e72c7 (patch)
treeb85b02165b065d0cd01606cb6c24453c52289b2b /lib/rubygems
parent6c5170634af21ff90c2d80604ae5c2808a597a9e (diff)
downloadruby-d74ea2eeb22e9db8a8003804ca48bd84629e72c7.tar.gz
[rubygems/rubygems] Simplify config_file_name assigment
https://github.com/rubygems/rubygems/commit/1b3154f905
Diffstat (limited to 'lib/rubygems')
-rw-r--r--lib/rubygems/config_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb
index d1ac5db6dc..181b9f0d42 100644
--- a/lib/rubygems/config_file.rb
+++ b/lib/rubygems/config_file.rb
@@ -473,7 +473,7 @@ if you believe they were disclosed to a third party.
private
def set_config_file_name(args)
- @config_file_name = ENV["GEMRC"] || nil
+ @config_file_name = ENV["GEMRC"]
need_config_file_name = false
args.each do |arg|