()
| 8 | */ |
| 9 | |
| 10 | export async function loadCredentials(): Promise<CredentialFile | null> { |
| 11 | const cfg = readConfigFile(); |
| 12 | return cfg.oauth ?? null; |
| 13 | } |
| 14 | |
| 15 | export async function saveCredentials(creds: CredentialFile): Promise<void> { |
| 16 | const existing = readConfigFile() as Record<string, unknown>; |
no test coverage detected