From 5289528c3d23b03df487c6397e6204f842683231 Mon Sep 17 00:00:00 2001 From: Jason Hunter Date: Sun, 23 Jun 2024 23:31:41 -0400 Subject: [PATCH] fix lint --- web/src/utils/logUtil.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/src/utils/logUtil.ts b/web/src/utils/logUtil.ts index 95806be32..5c787c396 100644 --- a/web/src/utils/logUtil.ts +++ b/web/src/utils/logUtil.ts @@ -154,9 +154,7 @@ export function parseLogLines(logService: LogType, logs: string[]) { line.indexOf("Started") !== -1 || line.indexOf("Uvicorn") !== -1; const api = !!httpMethods.exec(line); - const tag = startup - ? "startup" - : api ? "API" : "server"; + const tag = startup ? "startup" : api ? "API" : "server"; return { dateStamp: match.toString().slice(1, -1),