From 53956a87e672adbbc6dff38b20d7e5d813e3e9cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 3 Aug 2023 20:34:12 +0200 Subject: [PATCH] fix: typo in condition check at remote start transaction MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.34.1