Skip to content

Commit

Permalink
Use version in npm install
Browse files Browse the repository at this point in the history
Closes #4832.
  • Loading branch information
code-asher committed Jul 13, 2024
1 parent f2c3261 commit d9812a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ install_standalone() {
}

install_npm() {
echoh "Installing latest from npm."
echoh "Installing v$VERSION from npm."
echoh

NPM_PATH="${YARN_PATH-npm}"
Expand All @@ -436,7 +436,7 @@ install_npm() {
fi
echoh "Installing with npm."
echoh
"$sh_c" "$NPM_PATH" install -g code-server --unsafe-perm
"$sh_c" "$NPM_PATH" install -g "code-server@$VERSION" --unsafe-perm
NPM_BIN_DIR="\$($NPM_PATH bin -g)" echo_npm_postinstall
return
fi
Expand Down

0 comments on commit d9812a5

Please sign in to comment.