diff options
author | Martin Emde <martinemde@users.noreply.github.com> | 2023-08-30 15:15:52 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-23 13:59:01 +0900 |
commit | 92f23a48e3bb7555ca99fc49e15b250a70f9d086 (patch) | |
tree | bd583abe4555696c8b68d141f7f51d8755b2e96e /lib/bundler/definition.rb | |
parent | c5fd94073ff2e22b6eea29c242c7e4a12ed7c865 (diff) | |
download | ruby-92f23a48e3bb7555ca99fc49e15b250a70f9d086.tar.gz |
[rubygems/rubygems] Refactor Checksum classes and methods to reduce
code.
(https://github.com/rubygems/rubygems/pull/6917)
https://github.com/rubygems/rubygems/commit/2238bdaadc
Diffstat (limited to 'lib/bundler/definition.rb')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 26e3126d84..5c605c47ac 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -753,7 +753,7 @@ module Bundler # has to be done separately, because we want to keep the locked checksum # store for a source, even when doing a full update if @locked_gems && locked_source = @locked_gems.sources.find {|s| s == source } - source.checksum_store&.use(locked_source.checksum_store) + source.checksum_store.register_store(locked_source.checksum_store) end # If the source is unlockable and the current command allows an unlock of # the source (for example, you are doing a `bundle update <foo>` of a git-pinned |