зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Disable false positive correction
https://github.com/rubygems/rubygems/commit/e75cca9496
This commit is contained in:
Родитель
0e8b1973b4
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче