(error: string)
| 425 | }, |
| 426 | |
| 427 | updateFailedStatus(error: string): void { |
| 428 | stopConnecting() |
| 429 | clearStatusLines() |
| 430 | currentState = 'failed' |
| 431 | |
| 432 | let suffix = '' |
| 433 | if (repoName) { |
| 434 | suffix += chalk.dim(' \u00b7 ') + chalk.dim(repoName) |
| 435 | } |
| 436 | if (branch) { |
| 437 | suffix += chalk.dim(' \u00b7 ') + chalk.dim(branch) |
| 438 | } |
| 439 | |
| 440 | writeStatus( |
| 441 | `${chalk.red(BRIDGE_FAILED_INDICATOR)} ${chalk.red('Remote Control Failed')}${suffix}\n`, |
| 442 | ) |
| 443 | writeStatus(`${chalk.dim(FAILED_FOOTER_TEXT)}\n`) |
| 444 | |
| 445 | if (error) { |
| 446 | writeStatus(`${chalk.red(error)}\n`) |
| 447 | } |
| 448 | }, |
| 449 | |
| 450 | updateSessionStatus( |
| 451 | _sessionId: string, |
nothing calls this directly
no test coverage detected