Update files to reflect the new node.js v24 (#7949)

With the update to node.js v24 in vscode and package.json some files have not been updated and still referenced version 22.x.
This commit is contained in:
Alexander Freiherr von Buddenbrock
2026-08-17 19:03:55 +02:00
committed by GitHub
parent 51f90a376b
commit 596dbf3416
5 changed files with 9 additions and 10 deletions

View File

@@ -65,8 +65,8 @@ main() {
echo "USE AT YOUR OWN RISK!"
fi
if [ "$major_node_version" -ne "${FORCE_NODE_VERSION:-22}" ]; then
echo "ERROR: code-server currently requires node v22."
if [ "$major_node_version" -ne "${FORCE_NODE_VERSION:-24}" ]; then
echo "ERROR: code-server currently requires node v24."
if [ -n "$FORCE_NODE_VERSION" ]; then
echo "However, you have overrided the version check to use v$FORCE_NODE_VERSION."
fi