We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2c3261 commit d9812a5Copy full SHA for d9812a5
install.sh
@@ -424,7 +424,7 @@ install_standalone() {
424
}
425
426
install_npm() {
427
- echoh "Installing latest from npm."
+ echoh "Installing v$VERSION from npm."
428
echoh
429
430
NPM_PATH="${YARN_PATH-npm}"
@@ -436,7 +436,7 @@ install_npm() {
436
fi
437
echoh "Installing with npm."
438
439
- "$sh_c" "$NPM_PATH" install -g code-server --unsafe-perm
+ "$sh_c" "$NPM_PATH" install -g "code-server@$VERSION" --unsafe-perm
440
NPM_BIN_DIR="\$($NPM_PATH bin -g)" echo_npm_postinstall
441
return
442
0 commit comments