Skip to content

Commit cd70a41

Browse files
author
Benjamin Coe
committed
upgrade signal-exit
1 parent 891e849 commit cd70a41

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ NYC.prototype._wrapExit = function () {
7878

7979
var opts = {alwaysLast: true}
8080
// allow more signal handlers in unit tests.
81-
if (process.env.NYC_TEST) opts.maxListeners = 2
8281
onExit(function () {
8382
outputCoverage()
8483
}, opts)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"lodash": "^3.8.0",
3636
"mkdirp": "^0.5.0",
3737
"rimraf": "^2.3.3",
38-
"signal-exit": "^1.3.0",
38+
"signal-exit": "^2.0.0",
3939
"spawn-wrap": "^0.1.2",
4040
"strip-bom": "^1.0.0",
4141
"yargs": "^3.8.0"

0 commit comments

Comments
 (0)