From 143cb4f6daf8f19819a63c03fd5c52e7c66525bf Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 3 Oct 2026 22:21:50 +0000 Subject: [PATCH] fix(audit:manifest): report forward-slash paths on Windows --- scripts/prompt-audit-manifest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prompt-audit-manifest.ts b/scripts/prompt-audit-manifest.ts index e52035220..fd54a2fae 100644 --- a/scripts/prompt-audit-manifest.ts +++ b/scripts/prompt-audit-manifest.ts @@ -27,7 +27,7 @@ function walk(dir: string, keep: (rel: string) => boolean): string[] { const visit = (d: string) => { for (const entry of readdirSync(d, { withFileTypes: true })) { const p = join(d, entry.name); - const rel = relative(ROOT, p); + const rel = relative(ROOT, p).replaceAll('\\', '/'); if (entry.isDirectory()) { if (!entry.name.startsWith('.') && entry.name !== 'node_modules') visit(p); } else if (keep(rel)) {