remove -all

This commit is contained in:
dgames
2021-11-21 13:40:53 -05:00
parent 6ae2f97f52
commit 004535e0bc
2 changed files with 13 additions and 1 deletions

2
vendor/profile.ps1 vendored
View File

@ -44,7 +44,7 @@ $gitVersionVendor = (readVersion -gitPath "$ENV:CMDER_ROOT\vendor\git-for-window
# write-host "GIT VENDOR: ${gitVersionVendor}"
# Get user installed Git Version[s] and Compare with vendored if found.
foreach ($git in (get-command -ErrorAction SilentlyContinue -all 'git')) {
foreach ($git in (get-command -ErrorAction SilentlyContinue 'git')) {
# write-host "GIT Path: " + $git.Path
$gitDir = Split-Path -Path $git.Path
$gitDir = isGitShim -gitPath $gitDir