简化 netlist 初始化流程
This commit is contained in:
parent
f2997b3bd8
commit
d1276ea2e9
@ -71,12 +71,7 @@ class Netlist {
|
|||||||
console.log(opeParam.prjInfo.prjPath);
|
console.log(opeParam.prjInfo.prjPath);
|
||||||
|
|
||||||
if (!this.wasm) {
|
if (!this.wasm) {
|
||||||
const wasm = await vscode.window.withProgress({
|
const wasm = await this.loadWasm();
|
||||||
location: vscode.ProgressLocation.Notification,
|
|
||||||
title: t('info.netlist.launch-netlist')
|
|
||||||
}, async () => {
|
|
||||||
return await this.loadWasm();
|
|
||||||
});
|
|
||||||
this.wasm = wasm;
|
this.wasm = wasm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user