Skip to content

Commit 0a1d72a

Browse files
xdissentbcoe
authored andcommitted
feat: reporting watermarks can now be set in nyc config stanza (#469)
1 parent 1022b16 commit 0a1d72a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ NYC.prototype.report = function () {
433433
var tree
434434
var map = this._getCoverageMapFromAllCoverageFiles()
435435
var context = libReport.createContext({
436-
dir: this._reportDir
436+
dir: this._reportDir,
437+
watermarks: this.config.watermarks
437438
})
438439

439440
tree = libReport.summarizers.pkg(map)

0 commit comments

Comments
 (0)