change runtimeCheckLog
This commit is contained in:
parent
e750e87107
commit
49ad47f89b
|
|
@ -193,14 +193,14 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
// "'"
|
||||
// );
|
||||
|
||||
if (checkLog?.length === 0) {
|
||||
await LogReport.create({
|
||||
detected_content: value,
|
||||
line: index + 1,
|
||||
id_file: log?.id_ldf,
|
||||
});
|
||||
lines.push(index + 1);
|
||||
}
|
||||
// if (checkLog?.length === 0) {
|
||||
// await LogReport.create({
|
||||
// detected_content: value,
|
||||
// line: index + 1,
|
||||
// id_file: log?.id_ldf,
|
||||
// });
|
||||
// lines.push(index + 1);
|
||||
// }
|
||||
}
|
||||
|
||||
// if(checkSpecialVersion())
|
||||
|
|
@ -279,19 +279,19 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
")\n";
|
||||
});
|
||||
|
||||
sendMessToZulip(
|
||||
"stream",
|
||||
Env.get("ZULIP_STREAM_ALERT"),
|
||||
Env.get("ZULIP_TOPIC_ALERT"),
|
||||
"------------\n\n:warning: :warning: **" +
|
||||
fileName +
|
||||
"**\n\n" +
|
||||
content +
|
||||
"\n\n" +
|
||||
spoiler +
|
||||
"\n\n***Issue found:***\n" +
|
||||
issueFound
|
||||
);
|
||||
// sendMessToZulip(
|
||||
// "stream",
|
||||
// Env.get("ZULIP_STREAM_ALERT"),
|
||||
// Env.get("ZULIP_TOPIC_ALERT"),
|
||||
// "------------\n\n:warning: :warning: **" +
|
||||
// fileName +
|
||||
// "**\n\n" +
|
||||
// content +
|
||||
// "\n\n" +
|
||||
// spoiler +
|
||||
// "\n\n***Issue found:***\n" +
|
||||
// issueFound
|
||||
// );
|
||||
}
|
||||
}, 3000);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue