diff --git a/scripts/build.ts b/scripts/build.ts index 57f0fe396..bbbdb46b2 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -169,13 +169,9 @@ class Builder { }); } - if (fs.existsSync(path.join(vscodeSourcePath, "node_modules"))) { - this.log("Using existing VS Code node_modules"); - } else { - await this.task("Installing VS Code dependencies", () => { - return util.promisify(cp.exec)("yarn", { cwd: vscodeSourcePath }); - }); - } + await this.task("Installing VS Code dependencies", () => { + return util.promisify(cp.exec)("yarn", { cwd: vscodeSourcePath }); + }); if (fs.existsSync(path.join(vscodeSourcePath, ".build/extensions"))) { this.log("Using existing built-in-extensions");