mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-09 13:49:05 +08:00
add the same message from lib_git.cmd in PS1 script
This commit is contained in:
4
vendor/psmodules/Cmder.ps1
vendored
4
vendor/psmodules/Cmder.ps1
vendored
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user