()
| 1162 | * Use this for performance-sensitive paths like tips where fresh results aren't needed. |
| 1163 | */ |
| 1164 | export async function detectRunningIDEsCached(): Promise<IdeType[]> { |
| 1165 | if (cachedRunningIDEs === null) { |
| 1166 | return detectRunningIDEs() |
| 1167 | } |
| 1168 | return cachedRunningIDEs |
| 1169 | } |
| 1170 | |
| 1171 | /** |
| 1172 | * Resets the cache for detectRunningIDEsCached. |
no test coverage detected