One message line naming the indexed sub-projects, or '' when none known.
()
| 2275 | |
| 2276 | /** One message line naming the indexed sub-projects, or '' when none known. */ |
| 2277 | private formatKnownSubprojects(): string { |
| 2278 | if (this.knownSubprojects.length === 0) return ''; |
| 2279 | const base = this.knownSubprojectsBase; |
| 2280 | const rels = this.knownSubprojects.map((r) => (base ? relativePath(base, r) || '.' : r)); |
| 2281 | return ( |
| 2282 | `Indexed sub-projects were found below it: ${rels.join(', ')} — ` + |
| 2283 | 'pass one of them (absolute, or resolved against that directory) as projectPath.\n' |
| 2284 | ); |
| 2285 | } |
| 2286 | |
| 2287 | /** |
| 2288 | * Whether a default CodeGraph instance is available |
no test coverage detected