(server: LspServerDefinition)
| 428 | } |
| 429 | |
| 430 | function getInstallLabel(server: LspServerDefinition): string { |
| 431 | return ( |
| 432 | normalizeInstallSpec(server)?.label || |
| 433 | server.launcher?.install?.label || |
| 434 | server.label || |
| 435 | server.id |
| 436 | ).trim(); |
| 437 | } |
| 438 | |
| 439 | function buildUninstallCommand(server: LspServerDefinition): string | null { |
| 440 | const spec = normalizeInstallSpec(server); |
no test coverage detected