diff options
author | Josh Nichols <josh@technicalpickles.com> | 2023-08-29 19:01:32 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-08-30 00:36:38 +0000 |
commit | e747e2c36b76262740da6070434a6768723397b2 (patch) | |
tree | 88ff2b7704c21af3219cbac730f56a96b40d7d0f | |
parent | 6a876a61d7495ff64805cdda2756c5fc38846ef8 (diff) | |
download | ruby-e747e2c36b76262740da6070434a6768723397b2.tar.gz |
[rubygems/rubygems] Update bundler/lib/bundler/settings.rb
https://github.com/rubygems/rubygems/commit/75ffa8ef76
Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
-rw-r--r-- | lib/bundler/settings.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index e31f207d90..92b4a6a4e3 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -104,10 +104,9 @@ module Bundler value = nil configs.each do |_, config| - if config[key] - value = config[key] - break - end + value = config[key] + next if value.nil? + break end converted_value(value, name) |