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