From: Jérôme Benoit Date: Sat, 25 Nov 2023 20:37:41 +0000 (+0100) Subject: refactor: cleanup unused variable name X-Git-Tag: v3.0.9~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=14c39df1b769eace0371f9f3432f6ee0871017c6;p=poolifier.git refactor: cleanup unused variable name Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 53b7b430..43af4f7c 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -983,7 +983,7 @@ export abstract class AbstractPool< } this.destroying = true await Promise.all( - this.workerNodes.map(async (_, workerNodeKey) => { + this.workerNodes.map(async (_workerNode, workerNodeKey) => { await this.destroyWorkerNode(workerNodeKey) }) )