fix: source map print error

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-03-18 11:15:49 +08:00
parent 25dbefef6f
commit a1e50285a9
2 changed files with 1 additions and 3 deletions

View File

@ -146,7 +146,7 @@ export class MiaoScriptConsole implements Console {
} }
} }
} }
cache.push(` §e->§c ${className}.${trace.methodName}(§4${fileName}:${trace.lineNumber}§c)`); cache.push(` §e->§c ${className}.${trace.methodName}(§4${fileName}:${lineNumber}§c)`);
} }
}); });
return cache; return cache;

View File

@ -1,5 +1,3 @@
import { injectable, DefaultContainer as container } from "@ms/container";
export namespace task { export namespace task {
export const TaskManager = Symbol('TaskManager') export const TaskManager = Symbol('TaskManager')
export interface TaskManager { export interface TaskManager {