Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDevAU authored Dec 7, 2023
1 parent 77d2d78 commit 5919154
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/frontmatter-validator/frontmatter-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,12 @@ function main() {

console.log("### Invalid Frontmatter Detected!\n");
allErrors.forEach(({ filePath, fileErrors }) => {
console.log(`#### Rule: ${filePath}\n`);
console.log(`#### Rule: <u>${filePath}</u>\n`);
console.log("Issues:");
fileErrors.forEach((issue) => console.log(`- **${issue}**`));
console.log("\n");
console.log('---')
console.log("\n");
});
process.exit(1);

Expand Down

0 comments on commit 5919154

Please sign in to comment.