Skip to content

Commit df335a5

Browse files
ashleyshawCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
1 parent 6c0cabc commit df335a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/validate-frontmatter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const schema = JSON.parse(fs.readFileSync('.github/automation/schemas/frontmatte
1111
const validate = ajv.compile(schema);
1212

1313
// TODO: implement front-matter extraction (YAML header) for .md files
14-
const files = glob.sync('**/*.md', { ignore: ['node_modules/**'] });
14+
const files = glob.globSync('**/*.md', { ignore: ['node_modules/**'] });
1515

1616
let errors = 0;
1717
// TODO: For each file in `files`, extract and validate front-matter here.

0 commit comments

Comments
 (0)