mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
chore: ran linting
This commit is contained in:
parent
7a852f0ea5
commit
2715f6d10f
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,10 @@ export type TodoStatus = z.infer<typeof TodoStatusSchema>;
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue