[rubygems/rubygems] Lock definition directly

https://github.com/rubygems/rubygems/commit/55eb6630a8
This commit is contained in:
David Rodríguez 2024-10-14 18:42:38 +02:00 committed by git
parent e9e66f74e3
commit 9d5be3d9ed

View File

@ -32,7 +32,7 @@ module Bundler
Bundler.ui.error "This bundle has been frozen, but there is no #{SharedHelpers.relative_lockfile_path} present"
exit 1
else
Bundler.load.lock(preserve_unknown_sections: true) unless options[:"dry-run"]
definition.lock(true) unless options[:"dry-run"]
Bundler.ui.info "The Gemfile's dependencies are satisfied"
end
end