Commit 85b2391
committed
scripts/lint: avoid unexpected vimlint failure
After a GitHub runner release of the ubuntu:22.04 in February, the
vimlint call started failing. This seems to be for two reasons that work
in concert. First, vimlint was exiting non-zero and causing script/lint
to exit without reporting vimlint's output, because scripts/lint had
errexit set, causing it exit immediately. Second, the call depth being
analysed by vimlint exceeded maxfuncdepth, so set it to a higher value
by leveraging VIMLINT_VIM to set maxfuncdepth to 200 to avoid vimlint
exiting non-zero due to that.1 parent 530702c commit 85b2391
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
0 commit comments