mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 05:53:27 +02:00
Fix shell output.
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = syrup.serial()
|
||||
function endListener() {
|
||||
push.send([
|
||||
channel
|
||||
, reply.okay()
|
||||
, reply.okay(null)
|
||||
])
|
||||
resolver.resolve()
|
||||
}
|
||||
@@ -55,6 +55,8 @@ module.exports = syrup.serial()
|
||||
stream.end()
|
||||
}
|
||||
|
||||
stream.setEncoding('utf8')
|
||||
|
||||
stream.on('readable', readableListener)
|
||||
stream.on('end', endListener)
|
||||
stream.on('error', errorListener)
|
||||
|
||||
Reference in New Issue
Block a user