[rubygems/rubygems] Move comment where the actual replacement happens

https://github.com/rubygems/rubygems/commit/d60acdf80d
This commit is contained in:
David Rodríguez 2022-01-17 23:01:01 +01:00 коммит произвёл git
Родитель 4ea521f6c7
Коммит 8dd63b89d9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -740,9 +740,9 @@ module Bundler
end
specs.each do |s|
# Replace the locked dependency's source with the equivalent source from the Gemfile
dep = @dependencies.find {|d| s.satisfies?(d) }
# Replace the locked dependency's source with the equivalent source from the Gemfile
s.source = (dep && dep.source) || sources.get_with_fallback(s.source)
next if @unlock[:sources].include?(s.source.name)