Skip to content

Commit 5258e9f

Browse files
bgalletbgalletcoreyfarrell
authored andcommitted
feat: Filenames relative to project cwd in coverage reports (#1212)
1 parent 6039f29 commit 5258e9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ class NYC {
441441
reports.create(_reporter, {
442442
skipEmpty: this.config.skipEmpty,
443443
skipFull: this.config.skipFull,
444+
projectRoot: this.cwd,
444445
maxCols: process.stdout.columns || 100
445446
}).execute(context)
446447
})

0 commit comments

Comments
 (0)