()
| 69 | * so the next getCoreUserData() call picks up fresh credentials and email. |
| 70 | */ |
| 71 | export function resetUserCache(): void { |
| 72 | cachedEmail = null |
| 73 | emailFetchPromise = null |
| 74 | getCoreUserData.cache.clear?.() |
| 75 | getGitEmail.cache.clear?.() |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Get core user data. |
no test coverage detected