istanbuljs / istanbuljs/test-exclude
The filename field should be compatible?
Open
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
in the 'index.js' file
in the function shouldInstrument
```
if (
this.extension &&
!this.extension.some(ext => filename.endsWith(ext))
) {
return false;
}
```
sometimes filename is undefined then report error

Can it be changed to `!this.extension.some(ext => filename && filename.endsWith(ext))`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.