From 378c54fe97ae1ce52dcdd064d61163ef61fb53db Mon Sep 17 00:00:00 2001 From: EmaSuriano Date: Tue, 12 Nov 2019 15:03:45 +0000 Subject: [PATCH] cluster: replace vars in child.js PR-URL: https://github.com/nodejs/node/pull/30383 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Beth Griggs Reviewed-By: Ruben Bridgewater Reviewed-By: Denys Otrishko Reviewed-By: Trivikram Kamat --- lib/internal/cluster/child.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/cluster/child.js b/lib/internal/cluster/child.js index 097c6dafae0172..533174a515bfac 100644 --- a/lib/internal/cluster/child.js +++ b/lib/internal/cluster/child.js @@ -128,7 +128,7 @@ function rr(message, indexesKey, cb) { if (message.errno) return cb(message.errno, null); - var key = message.key; + let key = message.key; function listen(backlog) { // TODO(bnoordhuis) Send a message to the master that tells it to