Skip to content

Commit e55ca92

Browse files
committed
chore: Fix runastyle.bat by adding missing EXIT_ERROR label
This change adds the missing `EXIT_ERROR` label to the `runastyle.bat` script, ensuring proper error handling and exit status.
1 parent ca3ed55 commit e55ca92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runastyle.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ ECHO %DETECTED_VERSION_STR% | FINDSTR /B /C:%ASTYLE_VERSION_STR% > nul && (
3030

3131
%ASTYLE% --options="%SCRIPT_DIR%/.astylerc" *.cpp
3232
%ASTYLE% --options="%SCRIPT_DIR%/.astylerc" *.h
33+
GOTO :EOF
34+
35+
:EXIT_ERROR
36+
EXIT /b 1

0 commit comments

Comments
 (0)