(options: CredentialsOptions = {})
| 90 | } |
| 91 | |
| 92 | export function readCredentialsFile(options: CredentialsOptions = {}): CredentialsFile { |
| 93 | const path = resolvePath(options); |
| 94 | if (!existsSync(path)) return {}; |
| 95 | return parseCredentials(readFileSync(path, 'utf-8')); |
| 96 | } |
| 97 | |
| 98 | export function readProfile( |
| 99 | profile: string, |
no test coverage detected