From d1c03778bd26af064147055fc21d6701ffefb707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 23 Dec 2023 19:06:07 +0100 Subject: [PATCH] refactor: silence sonar MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/cluster/fixed.ts | 4 +++- src/pools/thread/fixed.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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 { -- 2.34.1