One message line naming the indexed sub-projects, or '' when none known.
()
| 1435 | |
| 1436 | /** One message line naming the indexed sub-projects, or '' when none known. */ |
| 1437 | private formatKnownSubprojects(): string { |
| 1438 | if (this.knownSubprojects.length === 0) return ''; |
| 1439 | const base = this.knownSubprojectsBase; |
| 1440 | const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r)); |
| 1441 | return ( |
| 1442 | `Indexed sub-projects were found below it: ${rels.join(', ')} — ` + |
| 1443 | 'pass one of them (absolute, or resolved against that directory) as projectPath.\n' |
| 1444 | ); |
| 1445 | } |
| 1446 | |
| 1447 | /** |
| 1448 | * Whether a default CodeGraph instance is available |