Skip to content

Commit c51732a

Browse files
Ralph Agentclaude
andcommitted
🐛 Fix exit code handling in orchestrator
Simplify condition from 'if code and code != 0' to 'if code != 0'. Previous logic was correct but unnecessarily complex. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 31bf67e commit c51732a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _run_orchestrator() -> None:
9595
completed.append(label)
9696
except (typer.Exit, SystemExit) as exc:
9797
code = getattr(exc, "code", getattr(exc, "exit_code", 1))
98-
if code and code != 0:
98+
if code != 0:
9999
rprint(f"[red]✗ {label} failed.[/red]")
100100
cont = questionary.confirm(
101101
"Continue with remaining steps?", default=True

0 commit comments

Comments
 (0)