1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-go synced 2025-06-10 12:32:23 +02:00

Introduce getCurrentPackageManager

In order to avoid vague `default` value in many places
This commit is contained in:
Sergey Dolin 2023-01-30 14:47:42 +01:00
parent cf6af721a6
commit fbed9d5d06

View file

@ -13,3 +13,5 @@ export const supportedPackageManagers: SupportedPackageManagers = {
cacheFolderCommandList: ['go env GOMODCACHE', 'go env GOCACHE']
}
};
export const getCurrentPackageManager = (): string => 'default';