Skip to content

Commit

Permalink
feat: reporting watermarks can now be set in nyc config stanza (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdissent authored and bcoe committed Jan 16, 2017
1 parent 1022b16 commit 0a1d72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ NYC.prototype.report = function () {
var tree
var map = this._getCoverageMapFromAllCoverageFiles()
var context = libReport.createContext({
dir: this._reportDir
dir: this._reportDir,
watermarks: this.config.watermarks
})

tree = libReport.summarizers.pkg(map)
Expand Down

0 comments on commit 0a1d72a

Please sign in to comment.