From 7695871fe06159c11edae34db6ecea209300fc62 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:50:52 +0000 Subject: [PATCH] ran `npm run build` --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 652ff1d..2b418c3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2477,9 +2477,9 @@ function isGhes(url) { const ghUrl = new url_1.URL(url || process.env['GITHUB_SERVER_URL'] || 'https://github.com'); const hostname = ghUrl.hostname.trimEnd().toUpperCase(); const isGitHubHost = hostname === 'GITHUB.COM'; - const isGheHost = hostname.endsWith('.GHE.COM'); + const isGitHubEnterpriseCloudHost = hostname.endsWith('.GHE.COM'); const isLocalHost = hostname.endsWith('.LOCALHOST'); - return !isGitHubHost && !isGheHost && !isLocalHost; + return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; } function pruneSuffix(text, suffix) { if (hasContent(suffix, true) && (text === null || text === void 0 ? void 0 : text.endsWith(suffix))) {