change runtimeCheckLog
This commit is contained in:
		
							parent
							
								
									8ff674f50b
								
							
						
					
					
						commit
						65535a3ba4
					
				| 
						 | 
					@ -175,11 +175,11 @@ export async function runtimeCheckLogs(folderPath) {
 | 
				
			||||||
                  );
 | 
					                  );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                  if (checkLog?.length === 0) {
 | 
					                  if (checkLog?.length === 0) {
 | 
				
			||||||
                    await LogReport.create({
 | 
					                    // await LogReport.create({
 | 
				
			||||||
                      detected_content: value,
 | 
					                    //   detected_content: value,
 | 
				
			||||||
                      line: index + 1,
 | 
					                    //   line: index + 1,
 | 
				
			||||||
                      id_file: log?.id_ldf,
 | 
					                    //   id_file: log?.id_ldf,
 | 
				
			||||||
                    });
 | 
					                    // });
 | 
				
			||||||
                    lines.push(index + 1);
 | 
					                    lines.push(index + 1);
 | 
				
			||||||
                  }
 | 
					                  }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue