From 31573b4d5da76a23904d20d6507c678f8245bd75 Mon Sep 17 00:00:00 2001 From: Kate Sv Date: Mon, 23 Sep 2024 15:41:40 -0700 Subject: [PATCH] Update .github/scripts/check-mdx-frontmatter.js Co-authored-by: Shubham Shukla Signed-off-by: Kate Sv --- .github/scripts/check-mdx-frontmatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/check-mdx-frontmatter.js b/.github/scripts/check-mdx-frontmatter.js index cd5792b5..b714a8b8 100644 --- a/.github/scripts/check-mdx-frontmatter.js +++ b/.github/scripts/check-mdx-frontmatter.js @@ -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