mirror of https://github.com/sbt/sbt.git
fix: Use goto :end for proper cleanup in --version handler (#8717)
Use goto :end instead of goto :eof to ensure @endlocal is called and the script exits cleanly. This should fix the Windows test hang when sbtn calls the script.
This commit is contained in:
parent
14d92b76eb
commit
1ae2d3af57
|
|
@ -628,7 +628,7 @@ if !sbt_args_print_version! equ 1 (
|
|||
echo.
|
||||
echo [info] sbt runner (sbt-the-batch-script) is a runner to run any declared version of sbt.
|
||||
echo [info] Actual version of the sbt is declared using project\build.properties for each build.
|
||||
goto :eof
|
||||
goto :end
|
||||
)
|
||||
|
||||
if !run_native_client! equ 1 (
|
||||
|
|
|
|||
Loading…
Reference in New Issue