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
False-positive auto-correct for Style/WhileUntilModifier? #8273
Comments
|
Is this with the latest RuboCop? |
|
Hi Marc,
Yep, 0.87.1. |
|
I am also getting a "Infinite loop detected" error. You don't have that? |
|
Ah, weird. Initially, I didn't get it, but now I do. |
|
Ah, ok. Thanks for the report. I can confirm this is a false positive and I'll try to fix it. |
|
Great, thanks! |
Refactor that condition
Refactor that condition
|
Took a bit more time than I hoped 😅 A complete spec refactor and three (five, really) bug reports later, it's fixed 🎉 Thanks for reporting this bug! |
|
Oh wow, this is awesome! |
Refactor that condition
Hi,
Whilst running
rubocop, I came across this situation:Even though the
Style/WhileUntilModifiercop marks it as[Corrected], it still doesn't really auto-correct it.Perhaps a bug?
The text was updated successfully, but these errors were encountered: