[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. https://github.com/rubygems/rubygems/commit/a33aeb3c4d
This commit is contained in:
parent
a64c697b22
commit
a55a2fc6e8
@ -83,6 +83,8 @@ module Bundler
|
||||
end
|
||||
|
||||
def []=(key, value)
|
||||
delete_by_name(key)
|
||||
|
||||
add_spec(value)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user