Skip to content

Commit

Permalink
[rubygems/rubygems] Let the guards have some space to breathe
Browse files Browse the repository at this point in the history
  • Loading branch information
martinemde authored and hsbt committed Dec 25, 2023
1 parent 56804dd commit df11b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bundler/checksum.rb
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 189,7 @@ def inspect
# that contain the same gem with different checksums.
def replace(spec, checksum)
return unless checksum

lock_name = spec.name_tuple.lock_name
@store_mutex.synchronize do
existing = fetch_checksum(lock_name, checksum.algo)
Expand Down

0 comments on commit df11b3d

Please sign in to comment.