From 90a43f25ee5b9fd761a770a78fa5913314dea11b Mon Sep 17 00:00:00 2001 From: samfreund Date: Thu, 2 Jul 2026 23:34:47 -0700 Subject: [PATCH] normalize windows paths --- scripts/validate-regions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate-regions.ts b/scripts/validate-regions.ts index eeb1bdf..19a5b8e 100644 --- a/scripts/validate-regions.ts +++ b/scripts/validate-regions.ts @@ -46,7 +46,7 @@ function validateSource(filePath: string) { const lines = content.split('\n'); const regions = new Map(); const stack: { name: string; lineNum: number }[] = []; - const rel = relative(EXAMPLES_DIR, filePath); + const rel = relative(EXAMPLES_DIR, filePath).replace(/\\/g, '/'); for (let i = 0; i < lines.length; i++) { let m = lines[i].match(START_RE);