From e54e893b126e85d49d05010c13d23736f291dc9c Mon Sep 17 00:00:00 2001 From: EmaSuriano Date: Tue, 12 Nov 2019 15:03:45 +0000 Subject: [PATCH 1/2] cluster: replace vars in child.js --- 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..8e3e50e7dcddd9 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; + const key = message.key; function listen(backlog) { // TODO(bnoordhuis) Send a message to the master that tells it to From 769746cbba7886bcb6dafd60986501980ad455ec Mon Sep 17 00:00:00 2001 From: Emanuel Suriano Date: Sun, 17 Nov 2019 18:46:11 +0100 Subject: [PATCH 2/2] Update lib/internal/cluster/child.js Co-Authored-By: Denys Otrishko <9109612+lundibundi@users.noreply.github.com> --- 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 8e3e50e7dcddd9..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); - const key = message.key; + let key = message.key; function listen(backlog) { // TODO(bnoordhuis) Send a message to the master that tells it to