From: Jérôme Benoit Date: Wed, 18 May 2022 12:37:49 +0000 (+0200) Subject: Fix not initialized variables at startup X-Git-Tag: v1.1.60~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8d0e34c9b1792a4f48ed4ee28eb059facd8c9995;p=e-mobility-charging-stations-simulator.git Fix not initialized variables at startup Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 2b0b0711..89bb9d8e 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -840,7 +840,7 @@ export default class ChargingStation { stationInfo, 'supervisionUrl', this.templateFile, - this.logPrefix(), + Utils.logPrefix(` ${chargingStationId} |`), "Use 'supervisionUrls' instead" ); ChargingStationUtils.convertDeprecatedTemplateKey(