fix(starter-bat): don't start if build step has failed (#1069)

Reviewed-on: OpenWF/SpaceNinjaServer#1069
This commit is contained in:
Sainan 2025-03-03 05:48:54 -08:00
parent b3003b9fb3
commit 3442f15c6d

View File

@ -16,9 +16,10 @@ echo Updating dependencies...
call npm i
call npm run build
call npm run start
echo SpaceNinjaServer seems to have crashed.
if %errorlevel% == 0 (
call npm run start
echo SpaceNinjaServer seems to have crashed.
)
:a
pause > nul
goto a