| 
					
				 | 
			
			
				@@ -103,8 +103,10 @@ function getLastFile(dirPath, number, callback) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (file of files) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const filePath = path.join(dirPath, file); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const stats = await fs.promises.stat(filePath); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                fileList.push({name: file, time: stats.birthtime.getTime()}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                // logger.info("文件:" + filePath + "时间:" + stats.birthtime.getTime()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(stats.isFile()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    fileList.push({name: file, time: stats.birthtime.getTime()}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    // logger.info("文件:" + filePath + "时间:" + stats.birthtime.getTime()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             fileList.sort((a, b) => b.time - a.time); 
			 |