From 4ad84761ce15944bfc01f7dc58804669bb8459d4 Mon Sep 17 00:00:00 2001 From: joseph le Date: Mon, 11 Sep 2023 09:52:01 +0700 Subject: [PATCH] change format file --- start/routes.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/start/routes.ts b/start/routes.ts index fa7673c..36ccb63 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -106,9 +106,10 @@ Route.get("/api/log/showLog/:name?", async ({ request, response }) => { }); }); listLine.map((u) => { - // if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { + if (listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0) { + console.log(data[u - 1]) detectedLines.push(data[u - 1]); - // } + } }); // console.log(data) response.send(