server.cli.ts does not await Promises (#235738)

This commit is contained in:
Martin Aeschlimann
2024-12-10 17:26:34 +01:00
committed by GitHub
parent d239906998
commit f43f3cc8f9
4 changed files with 11 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
@echo off
setlocal
SET VSCODE_PATH=%~dp0..\..\..\..
SET VSCODE_DEV=1
FOR /F "tokens=* USEBACKQ" %%g IN (`where /r "%VSCODE_PATH%\.build\node" node.exe`) do (SET "NODE=%%g")
call "%NODE%" "%VSCODE_PATH%\out\server-cli.js" "Code Server - Dev" "" "" "code.cmd" %*
endlocal

View File

@@ -10,6 +10,8 @@ else
VSCODE_PATH=$(dirname $(dirname $(dirname $(dirname $(dirname $(readlink -f $0))))))
fi
export VSCODE_DEV=1
PROD_NAME="Code Server - Dev"
VERSION=""
COMMIT=""