[flashplayer] update download link
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user