X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerUtils.ts;h=00feba445ff939cbc933eac0daf1a12fc0cfb4c4;hb=07561812b72072b6d9f20997be86a42ee88e15a2;hp=a181d80e205a2d6050e0f148311846d9a38db97a;hpb=8eac9a09368f841fc44e980f31674146833e449b;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerUtils.ts b/src/worker/WorkerUtils.ts index a181d80e..00feba44 100644 --- a/src/worker/WorkerUtils.ts +++ b/src/worker/WorkerUtils.ts @@ -1,6 +1,10 @@ import chalk from 'chalk'; export class WorkerUtils { + private constructor() { + // This is intentional + } + public static defaultExitHandler = (code: number): void => { if (code !== 0) { console.error(chalk.red(`Worker stopped with exit code ${code}`));