refactor: silence linter
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 16 Jun 2024 22:01:54 +0000 (00:01 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 16 Jun 2024 22:01:54 +0000 (00:01 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/worker-files/cluster/asyncWorker.cjs
tests/worker-files/cluster/echoWorker.cjs

index 12897f7ddbd7cde5ea7cd891f1e2e9ca00d7d95a..7e864bd9370d1ead8ae44dc0a009058361f8cf18 100644 (file)
@@ -5,6 +5,7 @@ const { sleepTaskFunction } = require('../../test-utils.cjs')
 /**
  *
  * @param data
+ * @returns
  */
 async function sleep (data) {
   return sleepTaskFunction(data, 2000)
index 5052e18c86d997bdbfa34f3d963f7dc9635961cf..5196b5db1522820aecd9de332f291319bca63a63 100644 (file)
@@ -4,6 +4,7 @@ const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
 /**
  *
  * @param data
+ * @returns
  */
 function echo (data) {
   return data