From bacb25e029cd8e3601e21fe108ed868d29fef5f6 Mon Sep 17 00:00:00 2001 From: Rodin Date: Fri, 15 May 2026 08:15:45 -0700 Subject: [PATCH] nit(#141): fix stale-docs error message phrasing "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. --- cmd/review-bot/validatedocmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/review-bot/validatedocmap.go b/cmd/review-bot/validatedocmap.go index cffa822..e29fa25 100644 --- a/cmd/review-bot/validatedocmap.go +++ b/cmd/review-bot/validatedocmap.go @@ -199,7 +199,7 @@ func runValidateDocmap(args []string) int { staleDocs := checkStaleDocs(cfg, resolvedRoot) if len(staleDocs) > 0 { 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 { fmt.Fprintf(errWriter, " %s\n", d) }