-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Fix #10529] Fix autocorrect for Style/SoleNestedConditional
#10532
[Fix #10529] Fix autocorrect for Style/SoleNestedConditional
#10532
Conversation
Style/SoleNestedConditional
causes…Style/SoleNestedConditional
CI / windows 3.1 has failed, but I have a feeling it's not due to my changes 🤔 |
I don't know if this is the right way to handle this, but wouldn't running CI again solve the problem? |
Yep, probably a false alarm due to an unstable test. |
I'd like to do |
This looks good. Can you squash your commits into one? |
… causes logical error when using a outer condition of method call by omitting parentheses for method arguments. Update changelog/fix_autocorrect_for_style_sole_nested_confitional.md Co-authored-by: Koichi ITO <koic.ito@gmail.com> Update spec/rubocop/cop/style/sole_nested_conditional_spec.rb Co-authored-by: Koichi ITO <koic.ito@gmail.com>
8fecd94
to
a53d574
Compare
Thanks for your review, updated branch. |
Thanks! |
This fix works on 1.28.2, thank you. |
Fixes #10529
Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).bundle exec rake default
. It executes all tests and runs RuboCop on its own code.{change_type}_{change_description}.md
if the new code introduces user-observable changes. See changelog entry format for details.