()
| 19 | } |
| 20 | |
| 21 | export async function clearCredentials(): Promise<void> { |
| 22 | const existing = readConfigFile() as Record<string, unknown>; |
| 23 | if (!('oauth' in existing)) return; |
| 24 | delete existing.oauth; |
| 25 | await writeConfigFile(existing); |
| 26 | } |
no test coverage detected