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

Loading…
Cancel
Save