1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Simplify config_file_name assigment

https://github.com/rubygems/rubygems/commit/1b3154f905
This commit is contained in:
bronzdoc 2019-05-30 20:34:44 -06:00 committed by Hiroshi SHIBATA
parent 6c5170634a
commit d74ea2eeb2
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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|