From 5ab3eb86840c554a5e32ddf3917c08c51260fc49 Mon Sep 17 00:00:00 2001 From: Andrea Lanfranchi Date: Fri, 3 Sep 2021 03:37:19 +0200 Subject: [PATCH] Refine git search (#2623) Seems like there are two alternative DisplayName formattings --- wmake.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmake.ps1 b/wmake.ps1 index ce06c0d3f..c2af85862 100644 --- a/wmake.ps1 +++ b/wmake.ps1 @@ -207,7 +207,7 @@ function Test-GO-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 if ($Private:item) {