Skip to content

Commit

Permalink
feat(log): clean single line logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 authored and evenstensberg committed Feb 5, 2019
1 parent 7c830b5 commit 5d2284b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/log/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Logger {
private build(message: string): string {
const lines = message.split("\n");
if (lines.length === 1) {
return lines[0];
return lines[0] + "\n";
}
message = lines[0] + "\n";

Expand Down

0 comments on commit 5d2284b

Please sign in to comment.