(serverId: string)
| 128 | } |
| 129 | |
| 130 | export function getServerRuntimeSetting(serverId: string): string { |
| 131 | const normalizedServerId = String(serverId || "") |
| 132 | .trim() |
| 133 | .toLowerCase(); |
| 134 | const servers = (appSettings.value?.lsp?.runtime?.servers || {}) as Record< |
| 135 | string, |
| 136 | unknown |
| 137 | >; |
| 138 | return ( |
| 139 | toRuntimeId(servers[normalizedServerId]) || |
| 140 | AUTO_RUNTIME_ID |
| 141 | ); |
| 142 | } |
nothing calls this directly
no test coverage detected