[rubygems/rubygems] Applied rubocop

https://github.com/rubygems/rubygems/commit/c26054e7e9
This commit is contained in:
Hiroshi SHIBATA 2024-07-17 17:47:37 +09:00 committed by git
parent 3f65df48bd
commit 58aebcbce1

View File

@ -143,7 +143,7 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg==
end
fetcher = Gem::RemoteFetcher.new
yield fetcher
sleep 0.5 unless RUBY_PLATFORM =~ /mswin|mingw/
sleep 0.5 unless RUBY_PLATFORM.match?(/mswin|mingw/)
ensure
fetcher.close_all
Gem.configuration = nil