You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…imiters`
Fixesrubocop#10033.
This PR fixes an incorrect auto-correct for `Style/BlockDelimiters`
when there is a comment after the closing brace and using method chain.
Fixes#10033.
This PR fixes an incorrect auto-correct for `Style/BlockDelimiters`
when there is a comment after the closing brace and using method chain.
Any code between the closing brace and the inline comment gets removed.
Expected behavior
No code should be removed.
Actual behavior
Running auto-correct on the following code:
result in the
.first
being removed.Steps to reproduce the problem
RuboCop version
The text was updated successfully, but these errors were encountered: