Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine an example for "Suppressing Exceptions" rule #808

Merged

Conversation

koic
Copy link
Member

@koic koic commented Mar 20, 2020

Follow up of rubocop/rubocop#7805 (comment).

This PR refines an example for "Suppressing Exceptions" rule.

And do_something rescue nil will be changed from bad case to good case based on RuboCop (0.81)'s behavior and the comment below.
rubocop/rubocop#7297 (comment)

Follow up of rubocop/rubocop#7805 (comment).

This PR refines an example for "Suppressing Exceptions" rule.

And `do_something rescue nil` will be changed from bad case to good case
based on RuboCop (0.81)'s behavior and the comment below.
rubocop/rubocop#7297 (comment)
@bbatsov bbatsov merged commit 3a20519 into rubocop:master Mar 20, 2020
@bbatsov
Copy link
Collaborator

bbatsov commented Mar 20, 2020

Thanks!

@koic koic deleted the refine_an_example_for_suppressing_exceptions branch March 20, 2020 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants