Upgrade WAMR-IDE (#1313)
Upgrade WAMR-IDE: test-tools/wamr-ide folder - add `wamr-sdk` to include libc-builtin-sysroot header files - add `prettier` check and apply script in `package.json` - update `wasm-toolchain` dockerfile and resource - enhance `build | run | debug` process to clean up the container - enhance the change workspace - enhance `wasm` type project check before building, running and debugging - format the project_compilation.json - update documents
This commit is contained in:
@ -81,3 +81,16 @@ export function WriteIntoFileAsync(
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
export function CheckIfDirectoryExist(path: string): boolean {
|
||||
try {
|
||||
if (fileSystem.existsSync(path)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
} catch (err) {
|
||||
vscode.window.showErrorMessage(err as string);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user