X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fabstract-pool.ts;h=603409f020a721eedff0b3f130c9f36462d91bb6;hb=fe6df2852c1f0964cdffb0698461c9d66b1cf7ed;hp=76dca07a8cf676a79f27c81096c6c9ead8ab910d;hpb=a17b6fe6a9b7cde367fa1f1a0a89f6ee5db46ad6;p=poolifier.git diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 76dca07a..603409f0 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1125,14 +1125,14 @@ export abstract class AbstractPool< return new Set([ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion this.opts.workerChoiceStrategy!, - ...(this.listTaskFunctionsProperties() + ...this.listTaskFunctionsProperties() .map( (taskFunctionProperties: TaskFunctionProperties) => taskFunctionProperties.strategy ) .filter( (strategy: WorkerChoiceStrategy | undefined) => strategy != null - )), + ), ]) }