-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Version 0.5.0 fails to run #66
Comments
Maybe @lee-dohm can have a look at the problem? 0.5.0 runs fine on all codebases I've tested it on. |
The error caused by having binary file without extension in one of the sub-directories |
I've had this too due to old stuff in my tmp directory. Clearing it fixed the problem. |
I think @bf4 has the right solution, catch the issues and return false ... logging on debug of course. |
@lee-dohm Thanks. And since this part of the code is really only checking if a file without a .rb extension contains ruby code, I thought that unreadable or unparseable file could be safely ignored. Perhaps instead of STDERR we should use a logger, but that is besides the point of getting the thing to work... It can be put off till a future iteration. |
Thanks for looking into that @bf4! Btw, you could have simply used |
After upgrading to version 0.5.0, rubocop started to fail with the following error:
Version 0.4.6 worked with no issues on the same set of source code.
The text was updated successfully, but these errors were encountered: