mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Don't unnecessarily loop twice through dependencies
https://github.com/rubygems/rubygems/commit/06b4a7994d
This commit is contained in:
parent
4c5e862434
commit
0073f624f0
1 changed files with 2 additions and 4 deletions
|
@ -634,15 +634,13 @@ module Bundler
|
|||
end
|
||||
|
||||
def converge_dependencies
|
||||
changes = false
|
||||
|
||||
@dependencies.each do |dep|
|
||||
if dep.source
|
||||
dep.source = sources.get(dep.source)
|
||||
end
|
||||
end
|
||||
|
||||
changes = false
|
||||
|
||||
@dependencies.each do |dep|
|
||||
unless locked_dep = @locked_deps[dep.name]
|
||||
changes = true
|
||||
next
|
||||
|
|
Loading…
Reference in a new issue