diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-10 18:37:37 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-01-11 13:51:52 +0900 |
| commit | acdc6abca82ddba8312e2bfd7968aaaaf3337a49 (patch) | |
| tree | c74d3218bac2e29279f2bffc5b8401dde3eab59b | |
| parent | 0e8b1973b429d0f2ed9200ec7c68ca4349d5c425 (diff) | |
[rubygems/rubygems] Disable false positive correction
https://github.com/rubygems/rubygems/commit/e75cca9496
| -rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index ab502e4a2e..3cb4e70a56 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -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 |
