зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Move comment where the actual replacement happens
https://github.com/rubygems/rubygems/commit/d60acdf80d
This commit is contained in:
Родитель
4ea521f6c7
Коммит
8dd63b89d9
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче