mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Move comment where the actual replacement happens
https://github.com/rubygems/rubygems/commit/d60acdf80d
This commit is contained in:
parent
4ea521f6c7
commit
8dd63b89d9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue