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.
1 parent b31308f commit e60459dCopy full SHA for e60459d
bundler/lib/bundler/definition.rb
@@ -793,14 +793,9 @@ def metadata_dependencies
793
794
def expand_dependencies(dependencies)
795
dependencies.flat_map do |dep|
796
- target_platforms = dep.gem_platforms(@platforms)
797
- expand_dependency_with_platforms(dep, target_platforms)
798
- end
799
800
-
801
- def expand_dependency_with_platforms(dep, platforms)
802
- platforms.map do |p|
803
- DepProxy.get_proxy(dep, p)
+ dep.gem_platforms(@platforms).map do |p|
+ DepProxy.get_proxy(dep, p)
+ end
804
end
805
806
0 commit comments