mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
bugfix of crash in debug mode--monthly0816
Signed-off-by: zhangbingce <zhangbingce@huawei.com>
This commit is contained in:
@@ -107,7 +107,7 @@ export class ResultStates {
|
||||
if (map && map.size != 0) {
|
||||
let names: Array<string> = Array.from(map).flat();
|
||||
let sourcemapObj: any = JSON.parse(assets[key]._value);
|
||||
sourcemapObj.names = names;
|
||||
sourcemapObj.nameMap = names;
|
||||
assets[key]._value = JSON.stringify(sourcemapObj);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user