Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ export default (e: IEventEmitter) => {
if (!canWrite(m.severity)) return
let msg = m.type === 'error' ? Errors.getErrorMessage(m.error, {stack: true}) : Output.render(m)
msg = deps.stripAnsi(chomp(msg))
let lines = msg.split('\n').map(l => `${timestamp()} ${l}`)
let lines = msg.split('\n').map(l => `${timestamp()} ${l}`.trimRight())
buffer.push(...lines)
flush(50).catch(console.error)
}

0 comments on commit 759d5e3

Please sign in to comment.