Skip to content

Commit 0ffb148

Browse files
Bashamegasaschanaz
andauthored
Update src/build/mdn-comments.ts
Co-authored-by: Kagami Sascha Rosylight <[email protected]>
1 parent 4cc342b commit 0ffb148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/mdn-comments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export async function generateDescriptions(): Promise<{
137137
const content = await fs.readFile(fileURL, "utf-8");
138138
const slug = generateSlug(content);
139139
const types = generateTypes(content);
140-
if (!slug || slug.length === 0 || (types && types[0] === "ignore"))
140+
if (!slug || slug.length === 0 || !types)
141141
return;
142142

143143
const summary = extractSummary(content);

0 commit comments

Comments
 (0)