Browse Source

将日志 与 机器人状态详情进行缓存,

hl 3 weeks ago
parent
commit
ad984a23bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/file.js

+ 1 - 1
src/utils/file.js

@@ -113,7 +113,7 @@ function getLastFile(dirPath, number, callback) {
 
             fileList.sort((a, b) => b.time - a.time);
             for (a of fileList) {
-                logger.info("排序之后的顺序:"+dirPath+ + a.name + "\ttime:" + a.time)
+                logger.info("排序之后的顺序:" + dirPath + a.name + "\ttime:" + a.time)
             }
             lastFileList = fileList.slice(0, number != -1 ? number : fileList.length);
             lastFileNameList = lastFileList.map((item) => item.name);