From: Jérôme Benoit Date: Fri, 19 Mar 2021 20:52:56 +0000 (+0100) Subject: Small cleanups X-Git-Tag: v1.0.1-0~81 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8bbe7426a07c159108c9cb1f69d3fe6b5cef5fe9;p=e-mobility-charging-stations-simulator.git Small cleanups Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index f47a879b..503c6bd2 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -44,7 +44,6 @@ export default class Bootstrap { numStationsTotal++; } } catch (error) { - // eslint-disable-next-line no-console console.error('Charging station start with template file ' + stationURL.file + ' error ', error); } } @@ -58,7 +57,6 @@ export default class Bootstrap { } this.started = true; } catch (error) { - // eslint-disable-next-line no-console console.error('Bootstrap start error ', error); } } diff --git a/src/charging-station/StationWorker.ts b/src/charging-station/StationWorker.ts index 45449c1b..bb2db88a 100644 --- a/src/charging-station/StationWorker.ts +++ b/src/charging-station/StationWorker.ts @@ -27,6 +27,6 @@ function addMessageListener(): void { } function startChargingStation(data: StationWorkerData): void { - const station = new ChargingStation(data.index , data.templateFile); + const station = new ChargingStation(data.index, data.templateFile); station.start(); } diff --git a/src/types/ChargingStationConfiguration.ts b/src/types/ChargingStationConfiguration.ts index 7e0219fb..fca2ec4a 100644 --- a/src/types/ChargingStationConfiguration.ts +++ b/src/types/ChargingStationConfiguration.ts @@ -1,6 +1,6 @@ import { OCPPConfigurationKey } from './ocpp/Configuration'; -export interface ConfigurationKey extends OCPPConfigurationKey{ +export interface ConfigurationKey extends OCPPConfigurationKey { visible?: boolean; reboot?: boolean; }