lrf402788946 4 tahun lalu
induk
melakukan
ac6ef0c835
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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_) {