mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-08-15 05:05:08 +00:00
isGhes
should not be exported
This commit is contained in:
parent
7f7ac40977
commit
fe7ff1148a
@ -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'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user