mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add guard as same as ==
Try to fix failure at 207580232 (step)
:10:382
```
undefined method `name' for "Gemfile.lock":String
/home/runner/work/ruby/ruby/lib/bundler/resolver/spec_group.rb:65:in `eql?'
```
This commit is contained in:
parent
896d9f967b
commit
b870ca5879
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ module Bundler
|
|||
end
|
||||
|
||||
def eql?(other)
|
||||
return unless other.is_a?(SpecGroup)
|
||||
name.eql?(other.name) &&
|
||||
version.eql?(other.version) &&
|
||||
source.eql?(other.source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue