refactor: silence sonar
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 23 Dec 2023 18:06:07 +0000 (19:06 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 23 Dec 2023 18:06:07 +0000 (19:06 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/cluster/fixed.ts
src/pools/thread/fixed.ts

index b1930f2f7f5ec59aa509dcaba578d595d5e6aaad..63f129f6a7d09323db3390ffdd61b1fd6918c1d4 100644 (file)
@@ -95,7 +95,9 @@ export class FixedClusterPool<
   }
 
   /** @inheritDoc */
-  protected checkAndEmitDynamicWorkerCreationEvents (): void {}
+  protected checkAndEmitDynamicWorkerCreationEvents (): void {
+    /* noop */
+  }
 
   /** @inheritDoc */
   protected get type (): PoolType {
index f7557a57c3640981b827daa00d4fe298715c836d..f48d0bcd9960da1a2ff89582035a9ad9a9581774 100644 (file)
@@ -114,7 +114,9 @@ export class FixedThreadPool<
   }
 
   /** @inheritDoc */
-  protected checkAndEmitDynamicWorkerCreationEvents (): void {}
+  protected checkAndEmitDynamicWorkerCreationEvents (): void {
+    /* noop */
+  }
 
   /** @inheritDoc */
   protected get type (): PoolType {