()
| 1334 | } |
| 1335 | |
| 1336 | async function refreshDiscoveredProjectsForKnownRoots(): Promise<void> { |
| 1337 | clearDiscoveredProjectPaths(); |
| 1338 | await Promise.all( |
| 1339 | getKnownRootPaths().map(async (rootPath) => { |
| 1340 | const candidates = await discoverProjectsWithinRoot(rootPath, { |
| 1341 | maxDepth: PROJECT_DISCOVERY_MAX_DEPTH |
| 1342 | }); |
| 1343 | for (const candidate of candidates) { |
| 1344 | registerDiscoveredProjectPath(candidate.rootPath, 'subdirectory'); |
| 1345 | } |
| 1346 | }) |
| 1347 | ); |
| 1348 | } |
| 1349 | |
| 1350 | async function validateClientRootEntries( |
| 1351 | rootEntries: Array<{ rootPath: string; label?: string }> |
no test coverage detected