Skip to content

Commit 937e469

Browse files
committed
Get Node version from package.json
lib/vscode/remote/.npmrc no longer exists
1 parent 1662451 commit 937e469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ci/build/update-vscode.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function update_node() {
5656
local node_version
5757
node_version=$(cat .node-version)
5858
local target_node_version
59-
target_node_version=$(grep target lib/vscode/remote/.npmrc | awk -F= '{print $2}' | tr -d '"')
59+
target_node_version=$(jq --raw-output .nativeBuild.target lib/vscode/remote/package.json)
6060
if [[ $node_version == "$target_node_version" ]] ; then
6161
echo "Already set to $target_node_version"
6262
else

0 commit comments

Comments
 (0)