From: HazbinFaulted Date: Mon, 25 Apr 2022 12:18:51 +0000 (+0200) Subject: removed unecessary code&comment X-Git-Tag: v1.1.59~22^2^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=35639ced7a1a8e9cfb7b0db675fc2757ea902d04;p=e-mobility-charging-stations-simulator.git removed unecessary code&comment --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 18e934db..d39c705c 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -34,7 +34,7 @@ export default class Bootstrap { private constructor() { this.started = false; this.workerScript = path.join( - path.resolve(__dirname, '../'), // wouldn't path.resolve(./ChargingStationWorker.js) achieve the same result ? + path.resolve(__dirname, '../'), 'charging-station', 'ChargingStationWorker.js' ); diff --git a/src/worker/WorkerFactory.ts b/src/worker/WorkerFactory.ts index 70bcc386..b297f42b 100644 --- a/src/worker/WorkerFactory.ts +++ b/src/worker/WorkerFactory.ts @@ -30,9 +30,7 @@ export default class WorkerFactory { workerOptions?.messageHandler && // eslint-disable-next-line @typescript-eslint/no-misused-promises (workerOptions.poolOptions.messageHandler = workerOptions.messageHandler); - console.log('before'); let workerImplementation: WorkerAbstract = null; - console.log(workerImplementation); switch (workerProcessType) { case WorkerProcessType.WORKER_SET: workerOptions.elementsPerWorker =