( server: LspServerDefinition, context?: LspRuntimeContext, )
| 106 | } |
| 107 | |
| 108 | export async function getRuntimeLabelForServer( |
| 109 | server: LspServerDefinition, |
| 110 | context?: LspRuntimeContext, |
| 111 | ): Promise<string> { |
| 112 | const provider = await getProvider(server, context); |
| 113 | return provider?.label || "Unavailable"; |
| 114 | } |
nothing calls this directly
no test coverage detected