diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-08 13:20:06 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-03-08 23:23:45 +0000 |
commit | ea8b5e7359cf88ce02f30d6ac4beb6e4cb6dcb78 (patch) | |
tree | a1390d4b1ca6c87758bfcca2f1685f8e31df2078 | |
parent | cb3f1f6de8bd2e128168fde43aa28c2441818469 (diff) |
[rubygems/rubygems] rubocop -a lib/rubygems/specification.rb
https://github.com/rubygems/rubygems/commit/85d60e9886
-rw-r--r-- | lib/rubygems/specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index be9d7a4953..d58647c9b5 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -2191,7 +2191,7 @@ class Gem::Specification < Gem::BasicSpecification # so we find them with heuristic way. We should improve it. return false if (full_require_paths - [extension_dir]).any? do |path| File.exist?(File.join(path, "#{name}.#{RbConfig::CONFIG['DLEXT']}")) || - !Dir.glob(File.join(path, name, "*.#{RbConfig::CONFIG['DLEXT']}")).empty? + !Dir.glob(File.join(path, name, "*.#{RbConfig::CONFIG['DLEXT']}")).empty? end true |