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 5919154 commit 19d5111
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/frontmatter-validator/frontmatter-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,12 @@ function main() {
return;
}

console.log("### Invalid Frontmatter Detected!\n");

allErrors.forEach(({ filePath, fileErrors }) => {
console.log(`#### Rule: <u>${filePath}</u>\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 19d5111

Please sign in to comment.