From 45a9f3bf4e182fd638871776cf4d16b2a2f7b48c Mon Sep 17 00:00:00 2001 From: Dicky Moore Date: Sun, 8 Feb 2026 15:07:46 +0000 Subject: [PATCH] test: remove redundant validate-workflow exclusion in guard scan --- test/test-installation-components.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test-installation-components.js b/test/test-installation-components.js index 7c456f570..e89e35887 100644 --- a/test/test-installation-components.js +++ b/test/test-installation-components.js @@ -350,10 +350,9 @@ async function runTests() { ]; const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']); const forbiddenRef = 'validate-workflow.xml'; - const excludedFile = path.join(projectRoot, 'src', 'core', 'tasks', 'validate-workflow.xml'); const offenders = []; - const files = await collectFiles(searchTargets, allowedExtensions, new Set([excludedFile])); + const files = await collectFiles(searchTargets, allowedExtensions); for (const fullPath of files) { const content = await fs.readFile(fullPath, 'utf8'); if (content.includes(forbiddenRef)) {