From 2715f6d10f0f6da4ff9985069cb27698881d2704 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Mon, 29 Dec 2025 01:09:21 +0530 Subject: [PATCH] chore: ran linting --- surfsense_web/components/tool-ui/plan/schema.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/surfsense_web/components/tool-ui/plan/schema.ts b/surfsense_web/components/tool-ui/plan/schema.ts index 08385c34a..56a5cd218 100644 --- a/surfsense_web/components/tool-ui/plan/schema.ts +++ b/surfsense_web/components/tool-ui/plan/schema.ts @@ -18,7 +18,10 @@ export type TodoStatus = z.infer; export function normalizeStatus(status: unknown): TodoStatus { if (typeof status !== "string") return "pending"; - const normalized = status.toLowerCase().trim().replace(/[\s_-]+/g, "_"); + const normalized = status + .toLowerCase() + .trim() + .replace(/[\s_-]+/g, "_"); // Completed variations // Sources: Linear (Done), Jira (Done), ClickUp (Complete, Closed), GitHub (closed)