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