Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/lifecycle-signal.js')
-rw-r--r--deps/npm/test/tap/lifecycle-signal.js2
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
})