Commit 2e6bd5b
fix: Minimize old Claude review comments errors (#786)
((COUNT++)) returns exit code 1 when COUNT is 0 because post-increment
evaluates to the previous value (0 = falsy). With set -e, this kills the
step after successfully minimizing the first comment. Use COUNT=$((COUNT
+ 1)) which always returns exit code 0.
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4259578 commit 2e6bd5b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments