Skip to content

Commit 912749d

Browse files
committed
Revert "try executing install through nvm for npm"
This reverts commit 7362901.
1 parent 7362901 commit 912749d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ async function buildVersion(extension, publishContext) {
157157
fs.access(path.join(publishContext.repo, "yarn.lock"), (error) => resolve(!error));
158158
});
159159
try {
160-
await exec(`${yarn ? "yarn" : "nvm exec npm"} install`, { cwd: packagePath });
160+
await exec(`${yarn ? "yarn" : "npm"} install`, { cwd: packagePath });
161161
} catch (e) {
162162
const pck = JSON.parse(await fs.promises.readFile(path.join(packagePath, "package.json"), "utf-8"));
163163
// try to auto migrate from vscode: https://code.visualstudio.com/api/working-with-extensions/testing-extension#migrating-from-vscode

0 commit comments

Comments
 (0)