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
1 changed files with 2 additions and 0 deletions

View File

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