Fix logs display

This commit is contained in:
Juan Cruz Viotti 2015-02-10 15:43:39 -04:00
parent d3f91797bf
commit 65729012b6

View File

@ -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()