Skip to content

Commit

Permalink
fix(windows): path of node-gyp with spectre mitigation (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam authored Oct 10, 2023
1 parent b1ca680 commit f38ad8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prepare_vscode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if [[ "${OS_NAME}" == "linux" ]]; then
fi

if [[ "${OS_NAME}" == "osx" ]]; then
CHILD_CONCURRENCY=1 yarn --network-timeout 180000
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --network-timeout 180000

yarn postinstall
else
Expand All @@ -81,7 +81,7 @@ else
git am --3way --whitespace=fix ../../build/npm/gyp/patches/gyp_spectre_mitigation_support.patch
npm install

npm_config_node_gyp=$( pwd )
npm_config_node_gyp="$( pwd )/bin/node-gyp.js"
export npm_config_node_gyp

cd ../..
Expand All @@ -91,7 +91,7 @@ else
export npm_config_arm_version=7
fi

CHILD_CONCURRENCY=1 yarn --check-files --network-timeout 180000
CHILD_CONCURRENCY=1 yarn --frozen-lockfile --check-files --network-timeout 180000
fi

setpath() {
Expand Down

0 comments on commit f38ad8b

Please sign in to comment.