Repository navigation
Commit 6c91d2b
committed
fix(cli): os migrate apply exits 1 when the confirmation it needs is not given
A non-interactive run (non-TTY stdin, or --json) without --yes applied
nothing and exited 0; every other os migrate subcommand with a --yes gate
exits 1 there. Both faces now exit 1; an interactive decline keeps exit 0.
Claude-Session: https://claude.ai/code/session_01LmjU2x1faLZ39DVTFyVca6
Co-authored-by: Claude <noreply@anthropic.com>1 parent e4d604e commit 6c91d2b
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
615 | 623 | | |
616 | 624 | | |
617 | | - | |
| 625 | + | |
618 | 626 | | |
| 627 | + | |
619 | 628 | | |
620 | 629 | | |
621 | 630 | | |
| |||
0 commit comments