Skip to content

Commit ba9d9b1

Browse files
Remove unnecessary receiver
1 parent 5f0f0c6 commit ba9d9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/lib/bundler/lazy_specification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def materialize_for_installation
7777
source.local!
7878

7979
candidates = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform?
80-
target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : Bundler.local_platform
80+
target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : local_platform
8181

8282
source.specs.search(Dependency.new(name, version)).select do |spec|
8383
MatchPlatform.platforms_match?(spec.platform, target_platform)

0 commit comments

Comments
 (0)