mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[rubygems/rubygems] Reset existing specs when using Bundler::SpecSet#[]=
We have a flaky failure where to equal Bundler specs sneak into the same
SpecSet. This seems like a vector where that could happen so trying this
in case it fixes the flaky.
a33aeb3c4d
This commit is contained in:
parent
a64c697b22
commit
a55a2fc6e8
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ module Bundler
|
|||
end
|
||||
|
||||
def []=(key, value)
|
||||
delete_by_name(key)
|
||||
|
||||
add_spec(value)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue