mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-18 08:38:46 +00:00
Refine git search (#2623)
Seems like there are two alternative DisplayName formattings
This commit is contained in:
parent
4c1dbdf50e
commit
5ab3eb8684
@ -207,7 +207,7 @@ function Test-GO-Installed {
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
function Test-Git-Installed {
|
function Test-Git-Installed {
|
||||||
|
|
||||||
$Private:item = Get-Uninstall-Item "^Git\ "
|
$Private:item = Get-Uninstall-Item "^Git version [0-9\.]{1,}|^Git$"
|
||||||
$Private:result = $false
|
$Private:result = $false
|
||||||
|
|
||||||
if ($Private:item) {
|
if ($Private:item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user