[Windows] Update WSL2 signature, Sbt version check and Regex Handling for Major Versions (#11833)

* [Windows] Fix Dotnet, sbt, wsl2 errors on windows

* [Windows] rollback scripts changes
This commit is contained in:
kishorekumar-anchala
2025-03-19 17:04:20 +00:00
committed by GitHub
parent 88c7661ae2
commit 55bacf67db
4 changed files with 4 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ function Get-GradleVersion {
}
function Get-SbtVersion {
(sbt -version) -match "sbt script" | Get-StringPart -Part 3
(sbt -version) -match "sbt runner" | Get-StringPart -Part 3
}
function Get-DotnetSdks {