-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Rails/TransactionExitStatement
false positive when mixing transaction and other blocks
#658
Labels
bug
Something isn't working
Comments
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Mar 16, 2022
…tement` Fixes rubocop#658. This PR fixes an false positive for `Rails/TransactionExitStatement` when `raise` is used in `loop` in transactions.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Mar 16, 2022
…ement` Fixes rubocop#658. This PR fixes a false positive for `Rails/TransactionExitStatement` when `raise` is used in `loop` in transactions.
10 tasks
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Mar 16, 2022
…ement` Fixes rubocop#658. This PR fixes a false positive for `Rails/TransactionExitStatement` when `raise` is used in `loop` in transactions.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Mar 16, 2022
…ement` Fixes rubocop#658. This PR fixes a false positive for `Rails/TransactionExitStatement` when `raise` is used in `loop` in transactions.
koic
added a commit
to koic/rubocop-rails
that referenced
this issue
Mar 16, 2022
…ement` Fixes rubocop#658. This PR fixes a false positive for `Rails/TransactionExitStatement` when `break` is used in `loop` in transactions.
koic
added a commit
that referenced
this issue
Mar 16, 2022
…saction_exit_statement [Fix #658] Fix a false positive for `Rails/TransactionExitStatement`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rails/TransactionExitStatement
detected on followingbreak
but its false positive.Expected behavior
No offences detected.
Actual behavior
Rails/TransactionExitStatement
detected atbreak
Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: