From: Jérôme Benoit Date: Wed, 4 Oct 2023 06:39:15 +0000 (+0200) Subject: refactor: silence linter warning X-Git-Tag: v3.0.0~14 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=97cf8c0ddbe1fdba4fde9f94e5b781eeec4d71b5;p=poolifier.git refactor: silence linter warning Signed-off-by: Jérôme Benoit --- diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index d0803b8d..e10521fc 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -368,7 +368,7 @@ export abstract class AbstractWorker< * * @param message - The kill message. */ - protected handleKillMessage (message: MessageValue): void { + protected handleKillMessage (_message: MessageValue): void { this.stopCheckActive() if (isAsyncFunction(this.opts.killHandler)) { (this.opts.killHandler?.() as Promise)