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 6b25397 commit 1106019
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/frontmatter-validator/frontmatter-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,12 @@ function main() {

console.log("### Invalid Frontmatter Detected!\n");
allErrors.forEach(({ filePath, fileErrors }) => {
console.log(`| Rule: ${filePath} |`);
console.log("| --- |");
console.log("| **Issues** |");
fileErrors.forEach((issue) => console.log(`| - ${issue} |`));
console.log(`| Rule | filePath |`);
console.log("| --- | --- |");
console.log(`| Issues: | |`);
fileErrors.forEach((issue) => console.log(`| | - ${issue} |`));
console.log("\n");
});

process.exit(1);
}

Expand Down

0 comments on commit 1106019

Please sign in to comment.