Commit db82afb
committed
fix: quote case patterns in lint workflow to prevent shell comment parsing
The lint workflow's "Check for broken relative links" step had a bash
case statement where the `#*` pattern was being parsed as a shell
comment, causing the `|*.svg*|*.shields.io*) continue ;;` continuation
to be a syntax error.
Quoting each pattern ("http*"|"https*"|"#*"|...) preserves the glob
semantics while preventing the unquoted `#*` from being mis-parsed.
Surfaced during Phase 2 Session D D-1 canary as the first PR to ever
trigger this on:pull_request workflow.
Closes #2.
Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com
Made-with: Cursor1 parent 04fb963 commit db82afb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments