(baseUrl: string)
| 314 | }); |
| 315 | |
| 316 | const parseExecutorServerConnection = (baseUrl: string) => |
| 317 | Effect.try({ |
| 318 | try: () => parseCliExecutorServerConnection(baseUrl), |
| 319 | catch: (cause) => |
| 320 | cause instanceof Error ? cause : new Error(`Invalid server URL: ${String(cause)}`), |
| 321 | }); |
| 322 | |
| 323 | const daemonBaseUrl = (hostname: string, port: number): string => |
| 324 | `http://${canonicalDaemonHost(hostname)}:${port}`; |
no test coverage detected