(clientEnv: ClientEnv = env)
| 63 | * Get the credentials file path based on the environment. |
| 64 | */ |
| 65 | export const getCredentialsPath = (clientEnv: ClientEnv = env): string => { |
| 66 | return path.join(getConfigDir(clientEnv), 'credentials.json') |
| 67 | } |
| 68 | |
| 69 | export const getUserCredentials = (clientEnv: ClientEnv = env): User | null => { |
| 70 | const credentialsPath = getCredentialsPath(clientEnv) |
no test coverage detected