From: Jérôme Benoit Date: Thu, 3 Aug 2023 18:34:12 +0000 (+0200) Subject: fix: typo in condition check at remote start transaction X-Git-Tag: v1.2.20~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=53956a87e672adbbc6dff38b20d7e5d813e3e9cc;p=e-mobility-charging-stations-simulator.git fix: typo in condition check at remote start transaction Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts index 61c74a60..75f63fee 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -955,7 +955,8 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { chargingStation, transactionConnectorId, chargingProfile, - ) === true) ?? + // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing + ) === true) || !chargingProfile ) { connectorStatus.transactionRemoteStarted = true;