lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
ac6ef0c835
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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_) {