From: Jérôme Benoit Date: Fri, 12 Jan 2024 21:52:10 +0000 (+0100) Subject: refactor: cleanup eslint disablement rule X-Git-Tag: v1.2.32~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0c1e4bc1c3879a1379ea03e99fd021453e194511;p=e-mobility-charging-stations-simulator.git refactor: cleanup eslint disablement rule 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 6937f2bd..704be2ad 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -772,8 +772,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { if (compositeSchedule != null) { return { status: GenericStatus.Accepted, - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - scheduleStart: compositeSchedule.startSchedule!, + scheduleStart: compositeSchedule.startSchedule, connectorId, chargingSchedule: compositeSchedule }