test: remove redundant validate-workflow exclusion in guard scan

This commit is contained in:
Dicky Moore 2026-02-08 15:07:46 +00:00
parent a1c054006a
commit 45a9f3bf4e
1 changed files with 1 additions and 2 deletions

View File

@ -350,10 +350,9 @@ async function runTests() {
]; ];
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']); const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
const forbiddenRef = 'validate-workflow.xml'; const forbiddenRef = 'validate-workflow.xml';
const excludedFile = path.join(projectRoot, 'src', 'core', 'tasks', 'validate-workflow.xml');
const offenders = []; const offenders = [];
const files = await collectFiles(searchTargets, allowedExtensions, new Set([excludedFile])); const files = await collectFiles(searchTargets, allowedExtensions);
for (const fullPath of files) { for (const fullPath of files) {
const content = await fs.readFile(fullPath, 'utf8'); const content = await fs.readFile(fullPath, 'utf8');
if (content.includes(forbiddenRef)) { if (content.includes(forbiddenRef)) {