From 71b70c4527a879d57b94d14fb43d19f59d42f2ab Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Thu, 28 Nov 2024 09:33:20 +0100 Subject: [PATCH] Allow console when deliberately debugging --- lib/machines/search/debug.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/machines/search/debug.ts b/lib/machines/search/debug.ts index 4b3aa5a0..092b0492 100644 --- a/lib/machines/search/debug.ts +++ b/lib/machines/search/debug.ts @@ -2,6 +2,7 @@ import { InspectionEvent } from "xstate" export const debugEvents = (inspectionEvent: InspectionEvent) => { if (inspectionEvent.type === "@xstate.event") { + // eslint-disable-next-line no-console console.debug(inspectionEvent.event) } }