From bb405d51facda14c04cf0a672356bb26d7a31911 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Mon, 5 Oct 2026 17:43:56 +0800 Subject: [PATCH] fix(scripts): normalize plugin record compiler paths --- scripts/verify-plugin-record-callers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-plugin-record-callers.ts b/scripts/verify-plugin-record-callers.ts index 845d1cc6f0..c70edf47b1 100644 --- a/scripts/verify-plugin-record-callers.ts +++ b/scripts/verify-plugin-record-callers.ts @@ -190,7 +190,7 @@ export function checkDeclaredPluginRecordWrites( const roots = new Set() for (const config of configs.byPath.values()) { for (const file of config.fileNames) { - if (!isTestFile(relative(repoRoot, file).replaceAll('\\', '/'))) roots.add(file) + if (!isTestFile(relative(repoRoot, file).replaceAll('\\', '/'))) roots.add(resolve(file)) } } const admitted = candidates.filter(file => roots.has(resolve(repoRoot, file)))