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 b6318cb8c1
commit 5844ca9e7d

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)