Skip to content

Commit a449e7b

Browse files
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.
1 parent 58e9bd9 commit a449e7b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bundler/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)