From 8bbe7426a07c159108c9cb1f69d3fe6b5cef5fe9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 19 Mar 2021 21:52:56 +0100 Subject: [PATCH] Small cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/Bootstrap.ts | 2 -- src/charging-station/StationWorker.ts | 2 +- src/types/ChargingStationConfiguration.ts | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) 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; } -- 2.34.1