Use npm rebuild instead of yarn --no-scripts in vscode.sh

This commit is contained in:
Anmol Sethi
2020-02-20 19:11:01 -05:00
parent 3a2644a2bc
commit 815dc06118
2 changed files with 10 additions and 9 deletions

View File

@@ -12,13 +12,13 @@ main() {
# If the patch fails to apply, then it's likely already applied
yarn vscode:patch &> /dev/null || true
# Install VS Code dependencies.
# The second yarn is required as for whatever reason, we get
# NODE_MODULE_VERSION mismatch errors without it.
(
cd lib/vscode
# Install VS Code dependencies.
yarn
yarn --ignore-scripts
# NODE_MODULE_VERSION mismatch errors without this.
npm rebuild
)
}