lrf402788946 4 년 전
부모
커밋
ac6ef0c835
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/service/creeperxtsread.js

+ 2 - 1
app/service/creeperxtsread.js

@@ -78,8 +78,9 @@ class CreeperxtsreadService extends CrudService {
         }
       }
     }
+    console.log(`data length=>${arr.length}`);
     await this.toMq(arr);
-    // await fs.unlinkSync(`${pathread}`);
+    await fs.unlinkSync(`${pathread}`);
   }
 
   async readFileToArr(path_) {