Skip to content

Commit e60459d

Browse files
Inline helper method
1 parent b31308f commit e60459d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

bundler/lib/bundler/definition.rb

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -793,14 +793,9 @@ def metadata_dependencies
793793

794794
def expand_dependencies(dependencies)
795795
dependencies.flat_map do |dep|
796-
target_platforms = dep.gem_platforms(@platforms)
797-
expand_dependency_with_platforms(dep, target_platforms)
798-
end
799-
end
800-
801-
def expand_dependency_with_platforms(dep, platforms)
802-
platforms.map do |p|
803-
DepProxy.get_proxy(dep, p)
796+
dep.gem_platforms(@platforms).map do |p|
797+
DepProxy.get_proxy(dep, p)
798+
end
804799
end
805800
end
806801

0 commit comments

Comments
 (0)