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'] cacheFolderCommandList: ['go env GOMODCACHE', 'go env GOCACHE']
} }
}; };
export const getCurrentPackageManager = (): string => 'default';