docs: refine code comment
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 7 May 2023 21:38:23 +0000 (23:38 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 7 May 2023 21:38:23 +0000 (23:38 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/worker-choice-strategy-context.ts

index acfee48adf0986d28e3209329cfc9a0b4aa8e158..5d26f82ba4f5784873c18eb037beed9b26a5e2f5 100644 (file)
@@ -131,7 +131,7 @@ export class WorkerChoiceStrategyContext<
    * Executes the worker choice strategy algorithm in the context.
    *
    * @returns The key of the worker node.
-   * @throws {@link @node/api/errors.html#class-error} If the worker node key is null or undefined.
+   * @throws {@link https://nodejs.org/api/errors.html#class-error} If the worker node key is null or undefined.
    */
   public execute (): number {
     const workerNodeKey = (