(path = credentialPath())
| 157 | } |
| 158 | |
| 159 | export async function deleteStore(path = credentialPath()): Promise<void> { |
| 160 | try { |
| 161 | await fs.unlink(path); |
| 162 | } catch (err) { |
| 163 | if ((err as NodeJS.ErrnoException).code === "ENOENT") return; |
| 164 | throw err; |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * True when `credentials` carries any unrecognized/foreign data captured |
no test coverage detected