nit(#141): fix stale-docs error message phrasing
PR Ready Gate / clear-labels (pull_request) Successful in 2s
CI / test (pull_request) Successful in 17s
CI / review (anthropic--claude-4.6-sonnet, sonnet, SONNET_REVIEW_TOKEN) (pull_request) Successful in 22s
CI / review (gpt-5, gpt, GPT_REVIEW_TOKEN) (pull_request) Successful in 50s
CI / review (gpt-5, security, ., rodin/security-patterns, SECURITY_REVIEW.md, SECURITY_REVIEW_TOKEN) (pull_request) Successful in 43s

"ERROR: stale docmap docs: entries" had a vestigial "docs:" fragment
that reads awkwardly (looks like a YAML reference).

Change to: "ERROR: stale docmap entries (paths do not exist):"

Addresses NIT finding in review #4175.
This commit is contained in:
Rodin
2026-05-15 08:15:45 -07:00
parent 92efd1af2b
commit bacb25e029
+1 -1
View File
@@ -199,7 +199,7 @@ func runValidateDocmap(args []string) int {
staleDocs := checkStaleDocs(cfg, resolvedRoot) staleDocs := checkStaleDocs(cfg, resolvedRoot)
if len(staleDocs) > 0 { if len(staleDocs) > 0 {
failed = true failed = true
fmt.Fprintln(errWriter, "ERROR: stale docmap docs: entries (paths do not exist):") fmt.Fprintln(errWriter, "ERROR: stale docmap entries (paths do not exist):")
for _, d := range staleDocs { for _, d := range staleDocs {
fmt.Fprintf(errWriter, " %s\n", d) fmt.Fprintf(errWriter, " %s\n", d)
} }