From 35639ced7a1a8e9cfb7b0db675fc2757ea902d04 Mon Sep 17 00:00:00 2001 From: HazbinFaulted Date: Mon, 25 Apr 2022 14:18:51 +0200 Subject: [PATCH] removed unecessary code&comment --- src/charging-station/Bootstrap.ts | 2 +- src/worker/WorkerFactory.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 = -- 2.34.1