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/Delegate autocorrect deletes comments #1164
Labels
bug
Something isn't working
Comments
masato-bkn
pushed a commit
to masato-bkn/rubocop-rails
that referenced
this issue
Nov 18, 2023
This PR fixes bug where comments were removed during auto-correction in `Rails/Delegate`.
masato-bkn
pushed a commit
to masato-bkn/rubocop-rails
that referenced
this issue
Nov 18, 2023
This PR fixes bug where comments were removed during auto-correction in `Rails/Delegate`.
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the
Rails/Delegate
cop autocorrects, it deletes comments inside the delegator method.Original code
Expected autocorrected code
Actual autocorrected code
RuboCop version
The text was updated successfully, but these errors were encountered: