Skip to content

Commit f046f9b

Browse files
committed
Fix install script
1 parent 4a6eea9 commit f046f9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/vscode-host/scripts/prepareAdditionalExtensions.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ function prepareAdditionalExtensions() {
5252
execSync(["yarn package-web", argv.verbose && "--verbose"], options);
5353
} else {
5454
log.info(`Installing production dependencies for ${ext.name}...`);
55-
execSync(["yarn --production", argv.verbose && "--verbose"], options);
55+
if (ext.name === 'solidity-extension') {
56+
execSync(["npm install", argv.verbose && "--verbose"], options);
57+
} else {
58+
execSync(["yarn --production", argv.verbose && "--verbose"], options);
59+
}
5660
}
5761

5862
// create empty metadata file if doesnt exist so vscode doesnt complain

0 commit comments

Comments
 (0)