mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Fix logs display
This commit is contained in:
parent
d3f91797bf
commit
65729012b6
@ -47,5 +47,9 @@ exports.logs =
|
||||
tail: options.tail
|
||||
}, (error, message) ->
|
||||
return done(error) if error?
|
||||
_.each(message, console.log)
|
||||
if _.isArray(message)
|
||||
_.each message, (line) ->
|
||||
console.log(line)
|
||||
else
|
||||
console.log(message)
|
||||
return done()
|
||||
|
Loading…
Reference in New Issue
Block a user