( configPath: string, runtimeFlags: RuntimeFlags )
| 441 | } |
| 442 | |
| 443 | function deleteAutoStorageCredentials( |
| 444 | configPath: string, |
| 445 | runtimeFlags: RuntimeFlags |
| 446 | ): void { |
| 447 | try { |
| 448 | deleteCredentialsFromKeyring(configPath, runtimeFlags); |
| 449 | } catch {} |
| 450 | deleteCredentialsFile(configPath); |
| 451 | } |
| 452 | |
| 453 | export function CredentialsStore(dir: string, config: GlobalConfig = {}) { |
| 454 | const configPath = cliConfig.getAuthConfigFilePath(dir); |
no test coverage detected