Skip to content

Commit 164952c

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Remove unnecessary replacement of locked dependencies sources
The `converge_dependencies` method already replaces the source of the dependency with an equivalent source from the Gemfile if possible. ruby/rubygems@a449e7ba19
1 parent 20f57c5 commit 164952c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/bundler/definition.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,6 @@ def converge_path_sources_to_gemspec_sources
917917
@locked_specs.each do |spec|
918918
spec.source &&= converge_path_source_to_gemspec_source(spec.source)
919919
end
920-
@locked_deps.each do |_, dep|
921-
dep.source &&= converge_path_source_to_gemspec_source(dep.source)
922-
end
923920
end
924921

925922
def converge_sources

0 commit comments

Comments
 (0)