test: expand workflow reference guard to scan installer JS
This commit is contained in:
parent
3aaa37125b
commit
5e8289fe26
|
|
@ -392,7 +392,7 @@ async function runTests() {
|
|||
path.join(projectRoot, 'src', 'bmm', 'workflows', 'document-project'),
|
||||
path.join(projectRoot, 'tools', 'cli', 'installers', 'lib'),
|
||||
];
|
||||
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml']);
|
||||
const allowedExtensions = new Set(['.md', '.yaml', '.yml', '.xml', '.js', '.cjs', '.mjs']);
|
||||
const forbiddenRefPattern = /(^|[^a-zA-Z0-9_-])workflow\.xml\b/;
|
||||
const offenders = [];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue