Commit 7013ad8
Fix merge script returning exit 1 on successful merge.
The print_summary function used `[[ -n "$VAR" ]] && echo` for optional
output lines. When the variable was empty, the `[[ ]]` returned 1 and
short-circuited — making 1 the script's exit code despite success.
Replaced with if/then to avoid leaking exit codes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 062393c commit 7013ad8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
| 214 | + | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
0 commit comments