style: change error color

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-03-24 13:26:15 +08:00
parent 0ed3f1fbd5
commit 1ea8966f26

View File

@ -122,7 +122,7 @@ export class MiaoScriptConsole implements Console {
} }
stack(ex: Error): string[] { stack(ex: Error): string[] {
var stack = ex.getStackTrace(); var stack = ex.getStackTrace();
var cache = [4' + ex]; var cache = [c' + ex];
//@ts-ignore //@ts-ignore
if (stack.class) { if (stack.class) {
stack = Arrays.asList(stack) stack = Arrays.asList(stack)