Browse Source

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

hl 9 tháng trước cách đây
mục cha
commit
170b218fc2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
             logger.error(`无法列出目录。`, err);
             // process.exit(1);
             // process.exit(1);
         } else {
         } else {
-            logger.info(`--------02`)
+            logger.info(`--------02`,files)
             let fileList = [];
             let fileList = [];
             for (file of files) {
             for (file of files) {
                 const filePath = path.join(dirPath, file);
                 const filePath = path.join(dirPath, file);