Commit eaccd8b
committed
fix(faces/lucid): emit
When a `--`-comment line has no text (e.g. just `--`), `strip_dashdash_comment`
returns `Some ""`. The previous code would emit `"// " ^ "" ^ "\n"` = `"// \n"`,
leaving a trailing space. The expected snapshot (and readable output) needs
`"//\n"` with no trailing space.
Fix: check the trimmed comment text and emit bare `"//"` when it is empty.
https://claude.ai/code/session_01Vrh2f1G8tf7ZbNcKh9r5U9// (no trailing space) for blank -- lines1 parent 801b72c commit eaccd8b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
580 | | - | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
| |||
0 commit comments