mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] util/rubocop -A --only Style/RescueStandardError
80b57da926
This commit is contained in:
parent
70164eec0f
commit
6ad269dc39
23 changed files with 33 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue