(flags: CliFlags, session: string)
| 468 | } |
| 469 | |
| 470 | function writeNoRemoteConnectionOutput(flags: CliFlags, session: string): void { |
| 471 | writeCommandOutput( |
| 472 | flags, |
| 473 | { connected: false, session }, |
| 474 | () => `No remote connection for "${session}".`, |
| 475 | ); |
| 476 | } |
| 477 | |
| 478 | function isCompatibleConnection( |
| 479 | state: RemoteConnectionState, |
no test coverage detected