From: Jérôme Benoit Date: Wed, 22 Mar 2023 15:21:12 +0000 (+0100) Subject: refactor(simulator): remove unneeded condition check in log message X-Git-Tag: v1.2.0-0~33 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=910c3f0cae3d7e9a9fb82608c3a26df37ff19b29;p=e-mobility-charging-stations-simulator.git refactor(simulator): remove unneeded condition check in log message building Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index e78d6bf8..59a625e8 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -528,9 +528,7 @@ export class ChargingStation { logger.error( `${this.logPrefix()} Charging station ${ StandardParametersKey.MeterValueSampleInterval - } configuration set to ${ - interval ? Utils.formatDurationMilliSeconds(interval) : interval - }, not sending MeterValues` + } configuration set to ${interval}, not sending MeterValues` ); } }