diff --git a/packages/cli-workflow/src/commands/setup/dispatch.ts b/packages/cli-workflow/src/commands/setup/dispatch.ts index 045c90f..53c3207 100644 --- a/packages/cli-workflow/src/commands/setup/dispatch.ts +++ b/packages/cli-workflow/src/commands/setup/dispatch.ts @@ -278,14 +278,12 @@ async function collectInteractiveSetup(): Promise> const wsPath = await promptLine( rl2, - "\nWorkflow workspace path (default: ./workflows, leave empty to skip): ", + "\nWorkflow workspace path (default: ./workflows, type 'skip' to skip): ", ); rl2.close(); - let initWorkspaceName: string | null = null; - if (wsPath !== "") { - initWorkspaceName = wsPath; - } + const initWorkspaceName = + wsPath.toLowerCase() === "skip" ? null : wsPath === "" ? "./workflows" : wsPath; return ok({ provider,