-
Notifications
You must be signed in to change notification settings - Fork 993
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
Fixes #37431 - Fix Style/SoleNestedConditional cop #10068
Fixes #37431 - Fix Style/SoleNestedConditional cop #10068
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failing tests appear to be related to your changes. Additionally, after applying these changes, there is a need to fix the indentations.
a0bdc37
to
6aab33d
Compare
6aab33d
to
968cf2d
Compare
968cf2d
to
2b79409
Compare
2b79409
to
c9fc726
Compare
c9fc726
to
8ce6b1d
Compare
@ekohl there is one rubocop offense detected that is |
8ce6b1d
to
808856e
Compare
45e5ba8
to
5dc1322
Compare
@@ -173,11 +173,9 @@ def dhcp_update_required? | |||
(!old.build? && build? && !all_dhcp_records_valid?)) | |||
# Handle jumpstart | |||
# TODO, abstract this way once interfaces are fully used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this TODO isn't actually solved with 4cbf879. Probably not for this PR, but something to investigate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried doing something here #10261
5dc1322
to
24f8887
Compare
@nofaralfasi have your concerns been addressed? |
@ekohl, can we get this in? |
24f8887
to
4a5739d
Compare
Reviewed and optimized nested conditionals flagged by the Style/SoloNestedConditional cop.