One message line naming the indexed sub-projects, or '' when none known.
()
| 2301 | |
| 2302 | /** One message line naming the indexed sub-projects, or '' when none known. */ |
| 2303 | private formatKnownSubprojects(): string { |
| 2304 | if (this.knownSubprojects.length === 0) return ''; |
| 2305 | const base = this.knownSubprojectsBase; |
| 2306 | const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r)); |
| 2307 | return ( |
| 2308 | `Indexed sub-projects were found below it: ${rels.join(', ')} — ` + |
| 2309 | 'pass one of them (absolute, or resolved against that directory) as projectPath.\n' |
| 2310 | ); |
| 2311 | } |
| 2312 | |
| 2313 | /** |
| 2314 | * Whether a default CodeGraph instance is available |
no test coverage detected