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 i
call npm run build call npm run build
if %errorlevel% == 0 (
call npm run start call npm run start
echo SpaceNinjaServer seems to have crashed. echo SpaceNinjaServer seems to have crashed.
)
:a :a
pause > nul pause > nul
goto a goto a