({
spinner,
error
}: {
spinner: Spinner;
error: unknown;
})
| 15 | p.log.info(`Run: ${color.green('npx baseai auth')}`); |
| 16 | } |
| 17 | function handleAuthError({ |
| 18 | spinner, |
| 19 | error |
| 20 | }: { |
| 21 | spinner: Spinner; |
| 22 | error: unknown; |
| 23 | }): void { |
| 24 | spinner.stop('Failed to retrieve authentication'); |
| 25 | p.log.error(`Error retrieving stored auth: ${(error as Error).message}`); |
| 26 | } |
| 27 | |
| 28 | export async function retrieveAuthentication({ |
| 29 | spinner |
no outgoing calls
no test coverage detected