From: Jérôme Benoit Date: Sun, 28 Jan 2024 18:28:48 +0000 (+0100) Subject: build(simulator): silence linter error X-Git-Tag: v1.2.33~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=d57d07cdcd73746f76721e6d65778c2590630bae;p=e-mobility-charging-stations-simulator.git build(simulator): silence linter error Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 17fc5484..8627c004 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -453,7 +453,7 @@ export abstract class OCPPRequestService { (messagePayload as OCPPError).code, (messagePayload as OCPPError).message, (messagePayload as OCPPError).details ?? { - command: (messagePayload as OCPPError).command ?? commandName + command: (messagePayload as OCPPError).command } ] satisfies ErrorResponse) break