Browse Source

fix: make prettyPrint always add a newline

update-deps
Alex Mikhalev 6 years ago
parent
commit
f013c5b111
  1. 3
      server/logging/prettyPrint.ts

3
server/logging/prettyPrint.ts

@ -62,7 +62,6 @@ function formatter(value: any) {
} else { } else {
line += filter(value); line += filter(value);
} }
line += "\n";
return line; return line;
} }
@ -146,7 +145,7 @@ class PrettyPrintTranform extends Transform {
if (!line) { if (!line) {
return cb(); return cb();
} }
process.stdout.write(line); process.stdout.write(line + "\n");
cb(); cb();
} }
} }

Loading…
Cancel
Save