Reputation: 59345
I have this piece of code below, and I am using nyc
and babel
to create a coverage report.
For some reason the report is giving me an issue "else path not taken" but there's nothing I can do to stop this.
Why is this here? How can I make it go away?
Upvotes: 2
Views: 6892
Reputation: 59345
This is because I didn't have any code that was continuing past all of these returns. I moved the return false
to the bottom and it worked.
Upvotes: 5