mirror of
https://github.com/cmderdev/cmder.git
synced 2025-11-09 21:59:08 +08:00
Merge branch 'master' of https://github.com/cmderdev/cmder into development
This commit is contained in:
4
vendor/psmodules/Cmder.ps1
vendored
4
vendor/psmodules/Cmder.ps1
vendored
@@ -1,4 +1,4 @@
|
||||
function readVersion($gitPath) {
|
||||
function readGitVersion($gitPath) {
|
||||
$gitExecutable = "${gitPath}\git.exe"
|
||||
|
||||
if (-not (Test-Path "$gitExecutable")) {
|
||||
@@ -18,7 +18,7 @@ function readVersion($gitPath) {
|
||||
}
|
||||
|
||||
function isGitShim($gitPath) {
|
||||
# check if there is a shim file - if yes, read the actual executable path
|
||||
# Check if there is a shim file - if yes, read the actual executable path
|
||||
# See: github.com/ScoopInstaller/Shim
|
||||
|
||||
if (Test-Path "${gitPath}\git.shim") {
|
||||
|
||||
Reference in New Issue
Block a user