From 5258e9fdb1d9e3d4abd4cc9768bc09cd8040a6be Mon Sep 17 00:00:00 2001 From: bgalletbgallet Date: Tue, 17 Dec 2019 15:40:38 +0100 Subject: [PATCH] feat: Filenames relative to project cwd in coverage reports (#1212) --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index b854548a9..3ce7ba6d6 100755 --- a/index.js +++ b/index.js @@ -441,6 +441,7 @@ class NYC { reports.create(_reporter, { skipEmpty: this.config.skipEmpty, skipFull: this.config.skipFull, + projectRoot: this.cwd, maxCols: process.stdout.columns || 100 }).execute(context) })