From a920a6bd66765e4b431c240a18ae641a1ae5ab81 Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Mon, 24 Jan 2022 10:57:03 +0100 Subject: [PATCH] fix(git): coerce git version equals (#13767) --- lib/util/git/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/git/index.ts b/lib/util/git/index.ts index d32f98a67f61e3..9761bdb0cc2b74 100644 --- a/lib/util/git/index.ts +++ b/lib/util/git/index.ts @@ -170,7 +170,7 @@ export async function validateGitVersion(): Promise { if ( !( version && - (version === GIT_MINIMUM_VERSION || + (semverCoerced.equals(version, GIT_MINIMUM_VERSION) || semverCoerced.isGreaterThan(version, GIT_MINIMUM_VERSION)) ) ) {