We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a980caa commit 5e0b883Copy full SHA for 5e0b883
1 file changed
scripts/draft-blog-post.mjs
@@ -72,7 +72,7 @@ rimraf.sync(postGlob);
72
const introFileData = fs.readFileSync(introFile, "utf8").trim();
73
74
const TRUNCATE_COMMENT = "<!--truncate-->";
75
-const shouldPrintTruncate = introFileData.includes(TRUNCATE_COMMENT);
+const shouldPrintTruncate = !introFileData.includes(TRUNCATE_COMMENT);
76
77
fs.writeFileSync(
78
postFile,
0 commit comments