Skip to content

Commit

Permalink
update output
Browse files Browse the repository at this point in the history
  • Loading branch information
anshgoyalevil committed Oct 18, 2024
1 parent bfa25f9 commit 56eda46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/markdown/check-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ function checkMarkdownFiles(folderPath, validateFunction, relativePath = '') {

const errors = validateFunction(frontmatter);
if (errors) {
console.error(`Errors in file ${relativeFilePath}:`);
errors.forEach(error => console.log(` - ${error}`));
console.log(`Errors in file ${relativeFilePath}:`);
errors.forEach(error => console.log(`${error}\n`));
}
}
});
Expand Down

0 comments on commit 56eda46

Please sign in to comment.