From 8251ac544aa8e99628132fee673cccd71fc1c758 Mon Sep 17 00:00:00 2001 From: Eruis2579 Date: Tue, 10 Feb 2026 12:34:43 +0100 Subject: [PATCH] fix: Use goto :eof for consistency with --script-version handler (#8717) Use goto :eof instead of goto :end to match the pattern used by --script-version and other early exits in the batch file. This should fix the Windows test hang issue. --- launcher-package/src/universal/bin/sbt.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher-package/src/universal/bin/sbt.bat b/launcher-package/src/universal/bin/sbt.bat index 2a417d76e..19cc28e40 100755 --- a/launcher-package/src/universal/bin/sbt.bat +++ b/launcher-package/src/universal/bin/sbt.bat @@ -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 :end + goto :eof ) if !run_native_client! equ 1 (