diff --git a/scripts/draft-blog-post.mjs b/scripts/draft-blog-post.mjs index 91bdb26a3c5c..1b3d1bdf4e81 100644 --- a/scripts/draft-blog-post.mjs +++ b/scripts/draft-blog-post.mjs @@ -72,7 +72,7 @@ rimraf.sync(postGlob); const introFileData = fs.readFileSync(introFile, "utf8").trim(); const TRUNCATE_COMMENT = ""; -const shouldPrintTruncate = introFileData.includes(TRUNCATE_COMMENT); +const shouldPrintTruncate = !introFileData.includes(TRUNCATE_COMMENT); fs.writeFileSync( postFile,