From 381481ace1fae9407a10295520643af4bfd4fca0 Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Tue, 7 Jun 2022 07:50:46 +0200 Subject: [PATCH] fix: log GHES version --- lib/modules/platform/github/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/modules/platform/github/index.ts b/lib/modules/platform/github/index.ts index 56cdd25856..80b2911ee1 100644 --- a/lib/modules/platform/github/index.ts +++ b/lib/modules/platform/github/index.ts @@ -108,6 +108,9 @@ export async function detectGhe(token: string): Promise { ([k]) => k.toLowerCase() === gheHeaderKey ) ?? []; platformConfig.gheVersion = semver.valid(gheVersion as string) ?? null; + logger.debug( + `Detected GitHub Enterprise Server, version: ${platformConfig.gheVersion}` + ); } }