Open yaronyg opened 8 years ago
I also noticed that SLOC is return things like:
--- node_modules/lie/node_modules/es3ify/node_modules/through/test/buffering.js
Error : Bad file
But if I navigate directly down to the through directory and run sloc --details test
it runs just fine.
Thanks for reporting! If you like to fix it, go ahead ;-) Otherwise you have to wait a bit until I do it :)
No problem. Honestly I just used CLOC and it answered my question. But I figured I would be a good Open Source user and report the bug. :)
Please see example command lines and errors below:
I run the same command twice, I just changed the order of the arguments.
Note, btw, that both
sloc --details test/
andsloc --format cli-table test/
work just fine. It's only when I put the two options together that I get the error.