Commit d2415ae
committed
Fix clang-tidy exit code handling in format.ps1
clang-tidy -fix uses exit code 1 to signal that fixes were applied, not a failure. The previous check treated any non-zero exit as a hard error, causing format.ps1 to abort whenever clang-tidy successfully auto-fixed source files. Only exit codes other than 0 or 1 now count as failures.1 parent 2d0b189 commit d2415ae
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | | - | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments