[rubygems/rubygems] Disable false positive correction

https://github.com/rubygems/rubygems/commit/e75cca9496
This commit is contained in:
Hiroshi SHIBATA 2024-01-10 18:37:37 +09:00
Родитель 0e8b1973b4
Коммит acdc6abca8
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -282,7 +282,7 @@ module Gem
# On universal Rubies, resolve the "universal" arch to the real CPU arch, without changing the extension directory.
class BasicSpecification
if /^universal\.(?<arch>.*?)-/ =~ CROSS_COMPILING || RUBY_PLATFORM
if /^universal\.(?<arch>.*?)-/ =~ (CROSS_COMPILING || RUBY_PLATFORM) # rubocop:disable Style/RedundantParentheses
local_platform = Platform.local
if local_platform.cpu == "universal"
ORIGINAL_LOCAL_PLATFORM = local_platform.to_s.freeze