(files)
| 295 | } |
| 296 | |
| 297 | async function detectNewShortcutDomain(files) { |
| 298 | for (const item of files) { |
| 299 | if (item.status !== "added") continue; |
| 300 | const domain = shortcutDomainForPath(item.filename); |
| 301 | if (!domain) continue; |
| 302 | try { |
| 303 | await fs.access(path.join(ROOT, "shortcuts", domain)); |
| 304 | } catch { |
| 305 | return domain; |
| 306 | } |
| 307 | } |
| 308 | return ""; |
| 309 | } |
| 310 | |
| 311 | function collectCoreAreas(filenames) { |
| 312 | const areas = new Set(); |
no test coverage detected