From 03e7c89b85f09420aee7db11c6a73f445d974c5e Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 23 Oct 2026 05:13:03 +0000 Subject: [PATCH] gen-api: module names with forward slashes on Windows too (the tables were stale on Linux CI) --- tools/gen-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen-api.ts b/tools/gen-api.ts index 31eaaf12..38e6c129 100644 --- a/tools/gen-api.ts +++ b/tools/gen-api.ts @@ -204,7 +204,7 @@ function listTs(dir: string): string[] { } export function scanCli(root = ROOT): CallSite[] { - return listTs(join(root, 'cli')).flatMap(p => scanSource(relative(join(root, 'cli'), p).replace(/\.ts$/, ''), readFileSync(p, 'utf8'))); + return listTs(join(root, 'cli')).flatMap(p => scanSource(relative(join(root, 'cli'), p).replaceAll('\\', '/').replace(/\.ts$/, ''), readFileSync(p, 'utf8'))); } // ---------------------------------------------------------------------------------------------------------- output