add middleware writeLog

This commit is contained in:
joseph le 2023-09-29 14:09:39 +07:00
parent c53e40cacc
commit 64a2fa5a54
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export const checkIndexSN = async (content, beginLine, nameF) => {
?.split(":")[1]
?.replace("\r", "")
.trim() !== "" &&
SN !== "N/A" &&
SN !== "N/A" && SN.length>4 &&
i >= beginLine
) {
if (output.some((u) => u.SN === SN)) {