-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Rubocop fights with it self regarding TrailingComma vs SpaceInsideBrackets [Lock-up] #908
Comments
What version are you using? We fixed this in 0.19 if memory serves. — On Wed, Mar 19, 2014 at 8:40 PM, Daniel Lo [email protected]
|
[deployer@local current]$ rubocop -v |
@danlo I have not been able to re-create your problem, and I don't understand what could be wrong because |
The issue comes about after you make the TrailingComma fix: Here is a complete screen display (Note on the 2nd version of test.rb, a comma was added; I also used time to show that the rubocop does not immediately exit and that I must ctrl-c out; as for the -a, that is what I think its SpaceInSideBrackets that auto-corrects (default on)):
|
Thanks. I see now. The hanging is a bug, of course. I should mention, though, that you've configured I haven't done any debugging, but it looks like it's |
Rubocop 0.19.1
.rubocop.yml
rubocop -Da test.rb
This will lock up rubocop in an endless fight.
Thank you! I love this!
The text was updated successfully, but these errors were encountered: