Always install VS Code dependencies
This fixes the case where the script is killed before all the dependencies were fully installed.
This commit is contained in:
parent
884491d72b
commit
015a99e87d
@ -169,13 +169,9 @@ class Builder {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fs.existsSync(path.join(vscodeSourcePath, "node_modules"))) {
|
await this.task("Installing VS Code dependencies", () => {
|
||||||
this.log("Using existing VS Code node_modules");
|
return util.promisify(cp.exec)("yarn", { cwd: vscodeSourcePath });
|
||||||
} else {
|
});
|
||||||
await this.task("Installing VS Code dependencies", () => {
|
|
||||||
return util.promisify(cp.exec)("yarn", { cwd: vscodeSourcePath });
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (fs.existsSync(path.join(vscodeSourcePath, ".build/extensions"))) {
|
if (fs.existsSync(path.join(vscodeSourcePath, ".build/extensions"))) {
|
||||||
this.log("Using existing built-in-extensions");
|
this.log("Using existing built-in-extensions");
|
||||||
|
Reference in New Issue
Block a user