refactor(simulator): remove unneeded condition check in log message
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Mar 2023 15:21:12 +0000 (16:21 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 22 Mar 2023 15:21:12 +0000 (16:21 +0100)
     building

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ChargingStation.ts

index e78d6bf87bfb50715b884f300db97dca19ac7ce6..59a625e8693e8ee107f214e58e8b6990a8d48d43 100644 (file)
@@ -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`
       );
     }
   }