[bundler/bundler] Inline `expanded_deps`

It's now only used once, and doing it like this is consistent with the
previous line.

https://github.com/bundler/bundler/commit/7d27330fc7
This commit is contained in:
David Rodríguez 2019-06-26 16:42:38 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель bdcd1990ad
Коммит ed37de1c82
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F9CF13417264FAC2
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -812,9 +812,8 @@ module Bundler
end
resolve = SpecSet.new(converged)
expanded_deps = expand_dependencies(deps, true)
@locked_specs_incomplete_for_platform = !resolve.for(expand_dependencies(deps), @unlock[:gems], true, true)
resolve = resolve.for(expanded_deps, @unlock[:gems], false, false, false)
resolve = resolve.for(expand_dependencies(deps, true), @unlock[:gems], false, false, false)
diff = nil
# Now, we unlock any sources that do not have anymore gems pinned to it