(root: string, reach: string)
| 713 | const projectRoots = new Set<string>(['']); |
| 714 | const localRoots = new Map<string, string>(); |
| 715 | const addLocal = (root: string, reach: string): void => { |
| 716 | const prior = localRoots.get(root); |
| 717 | // Two claims on one root: the wider reach wins. |
| 718 | if (prior === undefined || isWithin(prior, reach)) localRoots.set(root, reach); |
| 719 | }; |
| 720 | for (const dir of packageDirs) { |
| 721 | let top = dir; |
| 722 | while (top && packageDirs.has(parentDir(top))) top = parentDir(top); |
no test coverage detected