mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-03 22:40:27 +00:00
`cargo xtask docx-corpus` writes its Markdown summary to the --out path
with an .md extension. When --out already ended in .md (for example
`--out report.md`), the summary replaced the JSON report and the command
still printed that it wrote both files. The command now refuses such a
path before the run starts. Trailing dots and spaces, which Windows
drops from a file name, and letter case are ignored in the check, so
`report.MD` and `report.md ` are refused too.
The harness came in with cee47681 (M15 #1: add opt-in DOCX corpus
harness).