diff --git a/app/utils/runtimeCheckLogs.ts b/app/utils/runtimeCheckLogs.ts index 972e841..838a791 100644 --- a/app/utils/runtimeCheckLogs.ts +++ b/app/utils/runtimeCheckLogs.ts @@ -143,7 +143,7 @@ export async function runtimeCheckLogs(folderPath) { let listReport = await getListLineByItem(logsDetect[0]) let content = - "| |Detected at | Line | Item/error | Content \n|---|:---:|:---:|:---:|:-----------:\n"; + "| |Detected at | Item/error | Line | Report \n|---|:---:|:---:|:---:|:-----------:\n"; let spoiler = ""; // let file = await fs // .readFileSync(filePath) @@ -204,13 +204,13 @@ export async function runtimeCheckLogs(folderPath) { content = content + "|" + - index + + (index + 1) + "|**" + moment(Date.now()).format("HH:mm - DD/MM") + "**|" + - log.line.sort((a, b) => a > b).join(", ") + + log.detected_content+ "|" + - log.detected_content + + log.line.sort((a, b) => a - b).join(", ") + // "|" + // file[log.line - 1] + "|[View](https://logs.danielvu.com/api/log/showLog/" +