We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--cwd
1 parent 6d51456 commit b0d6daeCopy full SHA for b0d6dae
index.js
@@ -444,7 +444,7 @@ NYC.prototype.report = function () {
444
var tree
445
var map = this._getCoverageMapFromAllCoverageFiles()
446
var context = libReport.createContext({
447
- dir: this._reportDir,
+ dir: this.reportDirectory(),
448
watermarks: this.config.watermarks
449
})
450
@@ -537,6 +537,10 @@ NYC.prototype.tempDirectory = function () {
537
return path.resolve(this.cwd, this._tempDirectory)
538
}
539
540
+NYC.prototype.reportDirectory = function () {
541
+ return path.resolve(this.cwd, this._reportDir)
542
+}
543
+
544
NYC.prototype.processInfoDirectory = function () {
545
return path.resolve(this.tempDirectory(), 'processinfo')
546
0 commit comments