Commit da24b07
fix: Do not inherit sandbox exit code in JSON output mode
JSON consumers parse the output to retrieve the sandbox exitCode,
so the CLI itself should always exit 0 in --json mode. This makes
it easy to distinguish CLI errors from sandbox failures.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 8636496 commit da24b07
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
168 | 173 | | |
169 | 174 | | |
170 | 175 | | |
| |||
0 commit comments