#34 fix: tmp file overflow

Спојено
tunefish споји(ла) 1 комит(е) из hostbbq/bugfix/tmp-file-overflow у hostbbq/master пре 11 месеци
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      daemon/src/collector.class.ts

+ 1 - 1
daemon/src/collector.class.ts

@@ -189,7 +189,7 @@ export class Collector {
       do {
         const line = lines.shift();
 
-        if (!line) break;
+        if (!line || line.length < 3) break;
 
         const data = this.parseBufferedData(line);
         Logger.debug('[DEBUG] BufferedData:', JSON.stringify(data));