add the same message from lib_git.cmd in PS1 script

This commit is contained in:
David Refoua
2025-11-08 23:50:52 +03:30
committed by GitHub
parent bc970e7f78
commit 9b64482f37

View File

@@ -16,6 +16,10 @@ function Get-GitVersion {
return $Matches[1] return $Matches[1]
} }
Write-Debug "Git executable path: $gitExecutable"
Write-Error "'git --version' returned an improper version string!"
Write-Error "Unable to determine Git version from output: $gitVersion"
return $null return $null
} }