(options: CredentialsOptions)
| 134 | } |
| 135 | |
| 136 | function resolvePath(options: CredentialsOptions): string { |
| 137 | return options.path ?? defaultCredentialsPath(); |
| 138 | } |
| 139 | |
| 140 | function writeCredentialsAtomic(path: string, file: CredentialsFile): void { |
| 141 | mkdirSync(dirname(path), { recursive: true, mode: 0o700 }); |
no test coverage detected