Closed petetnt closed 7 years ago
Thank you!
That's should always be a empty array if no comments are found but I must have messed it up somewhere. I'll do some digging to fix the underlying issue as well.
Yep, it might have been something funky going on with my machine too, but at least the safeguard wouldn't hurt anyone 👍
https://github.com/mikaeljorhult/brackets-todo/blob/master/modules/Files.js#L65 was throwing for me for some reason with
This PR adds a simple safeguard for
files.todos
actually existing before trying to look up its length.