Skip to content

Commit

Permalink
Update .github/scripts/check-mdx-frontmatter.js
Browse files Browse the repository at this point in the history
Co-authored-by: Shubham Shukla <[email protected]>
Signed-off-by: Kate Sv <[email protected]>
  • Loading branch information
lampa-da and ishubham326 authored Sep 23, 2024
1 parent 24ac3db commit 31573b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check-mdx-frontmatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function checkMDXFiles(dirPath) {
console.log(`Total invalid files: ${totalFilesInvalid}`);

if (!allFilesValid) {
console.log(
console.error(
"Some files have invalid or missing descriptions. Meta description needing to be 50-160 characters"
);
process.exit(1); // Fail if any file is invalid
Expand Down

0 comments on commit 31573b4

Please sign in to comment.