[flashplayer] update download link

This commit is contained in:
2018-04-27 17:44:44 +03:00
parent 22a371292f
commit 00d9ec5c0e
5 changed files with 58 additions and 92 deletions

View File

@@ -38,8 +38,9 @@ module.exports = (handler) => {
file.contents.pipe(new StringWritable(handler));
} else {
const tail = new Tail(file.path);
tail.on("line", data => handler(data));
tail.on("error", error => handler('[ERROR]: ', error));
tail.on('line', data => handler(data));
tail.on('error', error => handler('[ERROR]: ', error));
this.on('end', () => tail.unwatch());
}
this.push(file);
callback();