Skip to content

Commit

Permalink
[rubygems/rubygems] Remove unneeded stuff
Browse files Browse the repository at this point in the history
This should be only for path sources, and unrelated to git.

rubygems/rubygems@0d8f31eeed
  • Loading branch information
deivid-rodriguez authored and hsbt committed Aug 16, 2023
1 parent 7bb3e63 commit e92ace6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bundler/definition.rb
Expand Up @@ -832,9 +832,9 @@ def converge_specs(specs)
if s.source.instance_of?(Source::Path) || s.source.instance_of?(Source::Gemspec)
new_specs = begin
s.source.specs
rescue PathError, GitError
rescue PathError
# if we won't need the source (according to the lockfile),
# don't error if the path/git source isn't available
# don't error if the path source isn't available
next if specs.
for(requested_dependencies, false).
none? {|locked_spec| locked_spec.source == s.source }
Expand Down

0 comments on commit e92ace6

Please sign in to comment.