Skip to content

Commit ef5b0e2

Browse files
ashleyshawCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]> Signed-off-by: Ash Shaw <[email protected]>
1 parent df335a5 commit ef5b0e2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

scripts/validate-frontmatter.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const ajv = new Ajv({ allErrors: true, strict: false });
88
addFormats(ajv);
99

1010
const schema = JSON.parse(fs.readFileSync('.github/automation/schemas/frontmatter.schema.json', 'utf8'));
11-
const validate = ajv.compile(schema);
12-
1311
// TODO: implement front-matter extraction (YAML header) for .md files
1412
const files = glob.globSync('**/*.md', { ignore: ['node_modules/**'] });
1513

0 commit comments

Comments
 (0)