diff options
Diffstat (limited to 'deps/npm/test/tap/lifecycle-signal.js')
-rw-r--r-- | deps/npm/test/tap/lifecycle-signal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/tap/lifecycle-signal.js b/deps/npm/test/tap/lifecycle-signal.js index 4c41a9e98af..68fe9db2d65 100644 --- a/deps/npm/test/tap/lifecycle-signal.js +++ b/deps/npm/test/tap/lifecycle-signal.js @@ -56,7 +56,7 @@ test('lifecycle propagate signal term to child', function (t) { cwd: pkg }) child.stderr.on('data', function (data) { - innerChildPid = Number.parseInt(data.toString(), 10) + innerChildPid = parseInt(data.toString(), 10) t.doesNotThrow(function () { process.kill(innerChildPid, 0) // inner child should be running }) |