[rubygems/rubygems] util/rubocop -A --only Style/RescueStandardError

80b57da926
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 13:47:12 +09:00
parent 70164eec0f
commit 6ad269dc39
23 changed files with 33 additions and 33 deletions

View file

@ -108,7 +108,7 @@ Specific fields in the specification can be extracted in YAML format:
if File.exist? gem
begin
specs << Gem::Package.new(gem).spec
rescue
rescue StandardError
nil
end
end