From b9a81a736eb336cf0f6b7c005850626c26e3cba1 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 29 Nov 2023 09:24:04 +0700 Subject: [PATCH] update highlight --- app/Controllers/Http/LogsController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/Http/LogsController.ts b/app/Controllers/Http/LogsController.ts index f9e6f2e..66163fc 100644 --- a/app/Controllers/Http/LogsController.ts +++ b/app/Controllers/Http/LogsController.ts @@ -116,11 +116,11 @@ export default class LogsController { }); }); - listLine.map((u) => { + listLine.map(async(u) => { if ( listExcludeErr.filter((err) => data[u - 1].includes(err)).length === 0 ) { - if (MODEL_SPECIAL.filter((i) => data[u - 1].includes(i)).length > 0) { + if (MODEL_SPECIAL.filter((i) => data[u - 1].includes(i)).length > 0 || await checkSpecialVersion(line)!=="") { modelSpecialDetected.push(data[u - 1]); } else { issueSpecialDetected.push(data[u - 1]);