Ver Fonte

获取日志存在bug ,正在排查~~~

hl há 9 meses atrás
pai
commit
170b218fc2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/utils/file.js

+ 1 - 1
src/utils/file.js

@@ -98,7 +98,7 @@ function getLastFile(dirPath, number, callback) {
             logger.error(`无法列出目录。`, err);
             // process.exit(1);
         } else {
-            logger.info(`--------02`)
+            logger.info(`--------02`,files)
             let fileList = [];
             for (file of files) {
                 const filePath = path.join(dirPath, file);