mirror of
https://github.com/ruby/ruby.git
synced 2026-08-12 08:20:37 +08:00
[rubygems/rubygems] Disable false positive correction
https://github.com/rubygems/rubygems/commit/e75cca9496
This commit is contained in:
parent
0e8b1973b4
commit
acdc6abca8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user