update send report
This commit is contained in:
parent
2f2b858b87
commit
deba81443b
|
|
@ -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/" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue