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 += chalk.cyan(value.msg);
|
||||||
}
|
}
|
||||||
line += "\n";
|
line += "\n";
|
||||||
if (value.type === "Error") {
|
if (value.err) {
|
||||||
line += " " + withSpaces(value.stack) + "\n";
|
line += " " + withSpaces(value.err.stack) + "\n";
|
||||||
} else {
|
} else {
|
||||||
line += filter(value);
|
line += filter(value);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user