From: Jérôme Benoit Date: Wed, 3 Jan 2024 22:43:55 +0000 (+0100) Subject: refactor: cleanup unneeded no null assertion X-Git-Tag: v3.1.17~13 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5d240702143a4ab79b203319baf3bc9bbfed751d;p=poolifier.git refactor: cleanup unneeded no null assertion Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 99744517..5d79cb43 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1180,7 +1180,7 @@ export abstract class AbstractPool< } } // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - return this.workerChoiceStrategyContext!.execute()! + return this.workerChoiceStrategyContext!.execute() } /**