diff --git a/src/platforms/GitHub/index.ts b/src/platforms/GitHub/index.ts index 96bc97e5..298e798c 100644 --- a/src/platforms/GitHub/index.ts +++ b/src/platforms/GitHub/index.ts @@ -90,7 +90,10 @@ export function isEnterprise() { * Enterprise * */ - $('a.Header-link[aria-label="Homepage Enterprise"]', e => e.textContent === 'Enterprise')) || + $( + 'a.Header-link[aria-label="Homepage Enterprise"]', + e => e.textContent?.trim() === 'Enterprise', + )) || false ) }