(resultMessage?: string)
| 17 | |
| 18 | export function ExitFlow({ showWorktree, onDone, onCancel }: Props): React.ReactNode { |
| 19 | async function onExit(resultMessage?: string) { |
| 20 | onDone(resultMessage ?? getRandomGoodbyeMessage()); |
| 21 | await gracefulShutdown(0, 'prompt_input_exit'); |
| 22 | } |
| 23 | |
| 24 | if (showWorktree) { |
| 25 | return <WorktreeExitDialog onDone={onExit} onCancel={onCancel} />; |
no test coverage detected