Fixed prettyPrint
This commit is contained in:
parent
00ba7cdf85
commit
782c79d848
@ -47,8 +47,8 @@ function formatter(value: any) {
|
||||
line += chalk.cyan(value.msg);
|
||||
}
|
||||
line += "\n";
|
||||
if (value.type === "Error") {
|
||||
line += " " + withSpaces(value.stack) + "\n";
|
||||
if (value.err) {
|
||||
line += " " + withSpaces(value.err.stack) + "\n";
|
||||
} else {
|
||||
line += filter(value);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user