Commit 31dea9a
committed
ci: quote the prettier markdown glob so all files are checked
The prettier check ran `--check **/*.md` unquoted. With bash globstar
off (the default), `**` collapses to a single `*`, so the shell expanded
the pattern to one-level-deep paths only: root-level files (ADMINS.md,
MAINTAINERS.md, README.md, ...) and files two or more levels deep
(cmd/osgen/README.md) were never linted, and formatting drift in them
went unnoticed.
Quote the glob in both the lint workflow and the lint.markdown Makefile
target so prettier expands it internally and matches every .md file at
any depth. Also replace a non-ASCII arrow in the Makefile target's
output and add its missing help annotation.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent 35184c7 commit 31dea9a
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments