From: Jérôme Benoit Date: Sat, 23 Dec 2023 18:06:07 +0000 (+0100) Subject: refactor: silence sonar X-Git-Tag: v3.1.11~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d1c03778bd26af064147055fc21d6701ffefb707;p=poolifier.git refactor: silence sonar Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index b1930f2f..63f129f6 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -95,7 +95,9 @@ export class FixedClusterPool< } /** @inheritDoc */ - protected checkAndEmitDynamicWorkerCreationEvents (): void {} + protected checkAndEmitDynamicWorkerCreationEvents (): void { + /* noop */ + } /** @inheritDoc */ protected get type (): PoolType { diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index f7557a57..f48d0bcd 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -114,7 +114,9 @@ export class FixedThreadPool< } /** @inheritDoc */ - protected checkAndEmitDynamicWorkerCreationEvents (): void {} + protected checkAndEmitDynamicWorkerCreationEvents (): void { + /* noop */ + } /** @inheritDoc */ protected get type (): PoolType {