We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
source
1 parent 8cf1222 commit 0a7099aCopy full SHA for 0a7099a
lib/bundler/definition.rb
@@ -960,11 +960,12 @@ def converge_specs(specs)
960
s.source = default_source unless sources.get(lockfile_source)
961
end
962
963
- next if @sources_to_unlock.include?(s.source.name)
+ source = s.source
964
+ next if @sources_to_unlock.include?(source.name)
965
966
# Path sources have special logic
- if s.source.instance_of?(Source::Path) || s.source.instance_of?(Source::Gemspec)
967
- new_spec = s.source.specs[s].first
+ if source.instance_of?(Source::Path) || source.instance_of?(Source::Gemspec)
968
+ new_spec = source.specs[s].first
969
if new_spec
970
s.dependencies.replace(new_spec.dependencies)
971
else
0 commit comments