We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ebafda commit 9832144Copy full SHA for 9832144
lib/internal/cluster/utils.js
@@ -6,7 +6,7 @@ module.exports = {
6
};
7
8
const callbacks = new Map();
9
-var seq = 0;
+let seq = 0;
10
11
function sendHelper(proc, message, handle, cb) {
12
if (!proc.connected)
@@ -29,7 +29,7 @@ function internal(worker, cb) {
29
if (message.cmd !== 'NODE_CLUSTER')
30
return;
31
32
- var fn = cb;
+ let fn = cb;
33
34
if (message.ack !== undefined) {
35
const callback = callbacks.get(message.ack);
0 commit comments