From d612c412f997fd185dfa67bd0ec6c27cf3b45c49 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:49:16 +0900 Subject: [PATCH] =?UTF-8?q?addtask=E3=82=92=E3=81=97=E3=81=9F=E3=81=A8?= =?UTF-8?q?=E3=81=8D=E3=80=81workflow=E9=81=B8=E6=8A=9E=E3=81=A7esc?= =?UTF-8?q?=E3=82=92=E6=8A=BC=E3=81=97=E3=81=9F=E3=82=89=E3=82=AD=E3=83=A3?= =?UTF-8?q?=E3=83=B3=E3=82=BB=E3=83=AB=E6=89=B1=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/addTask.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/addTask.ts b/src/commands/addTask.ts index 80eb757..cf4ea1e 100644 --- a/src/commands/addTask.ts +++ b/src/commands/addTask.ts @@ -89,7 +89,11 @@ export async function addTask(cwd: string, args: string[]): Promise { value: name, })); const selected = await selectOption('Select workflow:', options); - if (selected && selected !== defaultWorkflow) { + if (selected === null) { + info('Cancelled.'); + return; + } + if (selected !== defaultWorkflow) { workflow = selected; } }