From ea8b5e7359cf88ce02f30d6ac4beb6e4cb6dcb78 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 8 Mar 2023 13:20:06 +0900 Subject: [PATCH] [rubygems/rubygems] rubocop -a lib/rubygems/specification.rb https://github.com/rubygems/rubygems/commit/85d60e9886 --- lib/rubygems/specification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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