refactor: cleanup unused variable name
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Nov 2023 20:37:41 +0000 (21:37 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Nov 2023 20:37:41 +0000 (21:37 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts

index 53b7b430efcc626c317e2186e7dbd4b409944dd6..43af4f7c6868820fdfeb748d611aff2a2b35ddfa 100644 (file)
@@ -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)
       })
     )