[rubygems/rubygems] Remove unnecessary receiver

https://github.com/rubygems/rubygems/commit/ba9d9b1890
This commit is contained in:
David Rodríguez 2022-10-11 01:34:12 +02:00 коммит произвёл Hiroshi SHIBATA
Родитель 74dbb0d09a
Коммит 4d3dbbe77e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -77,7 +77,7 @@ module Bundler
source.local!
candidates = if source.is_a?(Source::Path) || !ruby_platform_materializes_to_ruby_platform?
target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : Bundler.local_platform
target_platform = ruby_platform_materializes_to_ruby_platform? ? platform : local_platform
source.specs.search(Dependency.new(name, version)).select do |spec|
MatchPlatform.platforms_match?(spec.platform, target_platform)