Update as.bat (#2496)

Fix "exit was unexpected at this time"
This commit is contained in:
lvyitian
2023-05-05 16:32:36 +08:00
committed by GitHub
parent fa1d2bd30a
commit ba108736b3
+1 -1
View File
@@ -115,5 +115,5 @@ IF %ERRORLEVEL% NEQ 0 (
)
:exit_bat
if %exitProcess%==1 exit %ERROR_CODE%
if "%exitProcess%"=="1" exit %ERROR_CODE%
exit /B %ERROR_CODE%