Open benedictchen opened 6 years ago
https://github.com/SBoudrias/gulp-istanbul/blob/f71379a83a07c87935aa6589369a49ff12201f1b/index.js#L74
When using express-openapi, files are often in the format of {myPathVariable}.js. This format causes the regex to not work.
{myPathVariable}.js
Please replace with this:
var covStubRE = /\{.*"path".*"fnMap".*"statementMap".*"branchMap".*\}^\/(?!\.js)/g;
https://github.com/SBoudrias/gulp-istanbul/blob/f71379a83a07c87935aa6589369a49ff12201f1b/index.js#L74
When using express-openapi, files are often in the format of
{myPathVariable}.js
. This format causes the regex to not work.Please replace with this: