We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you have a file starting with a blank line like this:
<blank line> module Toto end
and try to autocorrect with Style/Encoding it start an infinite loop where it add # encoding: utf-8 on the second line, giving something like this:
Style/Encoding
# encoding: utf-8
<blank line> # encoding: utf-8 # encoding: utf-8 ... module Toto end
The text was updated successfully, but these errors were encountered:
Nice catch! I'm looking at the reason for this right now.
Sorry, something went wrong.
Just coding up a fix.
Waiting until my open PR is merged to push this one.
e51d612
No branches or pull requests
If you have a file starting with a blank line like this:
and try to autocorrect with
Style/Encoding
it start an infinite loopwhere it add
# encoding: utf-8
on the second line, giving somethinglike this:
The text was updated successfully, but these errors were encountered: