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)))