isGhes should not be exported

This commit is contained in:
John Wesley Walker III 2024-10-18 14:27:29 +02:00 committed by GitHub
parent 7f7ac40977
commit fe7ff1148a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,7 +91,7 @@ export function isCacheFeatureAvailable(): boolean {
/** /**
* Returns this action runs on GitHub Enterprise Server or not. * Returns this action runs on GitHub Enterprise Server or not.
*/ */
export function isGhes(): boolean { function isGhes(): boolean {
const ghUrl = new URL( const ghUrl = new URL(
process.env['GITHUB_SERVER_URL'] || 'https://github.com' process.env['GITHUB_SERVER_URL'] || 'https://github.com'
); );