Skip to content

Commit fa43579

Browse files
committed
DA-1354 refactor: remove logging for generated files in H1 validation function
1 parent f07c837 commit fa43579

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

test/test-h1s-in-content.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ function validateH1MatchesFrontmatterTitle(fileContent, frontmatter, filePath) {
2525

2626
// Check if the single H1 tag matches the expected title
2727
if (h1s[0] !== expectedTitle) {
28-
if (filePath.includes("generated")) {
29-
console.log(filePath, frontmatter, h1s);
30-
}
3128
return {
3229
valid: false,
3330
h1s,

0 commit comments

Comments
 (0)