fix: log GHES version

This commit is contained in:
Rhys Arkins 2022-06-07 07:50:46 +02:00
parent 143d72c600
commit 381481ace1

View file

@ -108,6 +108,9 @@ export async function detectGhe(token: string): Promise<void> {
([k]) => k.toLowerCase() === gheHeaderKey
) ?? [];
platformConfig.gheVersion = semver.valid(gheVersion as string) ?? null;
logger.debug(
`Detected GitHub Enterprise Server, version: ${platformConfig.gheVersion}`
);
}
}