From fe7ff1148a1c30022550f2f5d223e0687aa71150 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:27:29 +0200 Subject: [PATCH] `isGhes` should not be exported --- src/cache-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache-utils.ts b/src/cache-utils.ts index db782be..9d190b8 100644 --- a/src/cache-utils.ts +++ b/src/cache-utils.ts @@ -91,7 +91,7 @@ export function isCacheFeatureAvailable(): boolean { /** * Returns this action runs on GitHub Enterprise Server or not. */ -export function isGhes(): boolean { +function isGhes(): boolean { const ghUrl = new URL( process.env['GITHUB_SERVER_URL'] || 'https://github.com' );