Commit ef14844
committed
fix: propagate clang-tidy failures in lint.sh
Track lint failures and exit non-zero when clang-tidy reports issues so
CI and pre-push hooks can catch them. Also switch from piped while-loop
to process substitution so the failure flag propagates correctly.1 parent 6784943 commit ef14844
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | | - | |
31 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
0 commit comments