add middleware writeLog
This commit is contained in:
		
							parent
							
								
									c53e40cacc
								
							
						
					
					
						commit
						64a2fa5a54
					
				| 
						 | 
					@ -23,7 +23,7 @@ export const checkIndexSN = async (content, beginLine, nameF) => {
 | 
				
			||||||
            ?.split(":")[1]
 | 
					            ?.split(":")[1]
 | 
				
			||||||
            ?.replace("\r", "")
 | 
					            ?.replace("\r", "")
 | 
				
			||||||
            .trim() !== "" &&
 | 
					            .trim() !== "" &&
 | 
				
			||||||
          SN !== "N/A" &&
 | 
					          SN !== "N/A" && SN.length>4 &&
 | 
				
			||||||
          i >= beginLine
 | 
					          i >= beginLine
 | 
				
			||||||
        ) {
 | 
					        ) {
 | 
				
			||||||
          if (output.some((u) => u.SN === SN)) {
 | 
					          if (output.some((u) => u.SN === SN)) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue