()
| 1221 | * Use this for performance-sensitive paths like tips where fresh results aren't needed. |
| 1222 | */ |
| 1223 | export async function detectRunningIDEsCached(): Promise<IdeType[]> { |
| 1224 | if (cachedRunningIDEs === null) { |
| 1225 | return detectRunningIDEs() |
| 1226 | } |
| 1227 | return cachedRunningIDEs |
| 1228 | } |
| 1229 | |
| 1230 | /** |
| 1231 | * Resets the cache for detectRunningIDEsCached. |
no test coverage detected