Skip to content

Commit 88957ed

Browse files
authored
Update src/build/mdn-comments.ts
1 parent 3a6746a commit 88957ed

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
@@ -81,7 +81,7 @@ export async function generateDescriptions(): Promise<{
8181
const mdn = JSON.parse(content);
8282
const results: Record<string, any> = {};
8383
// metadata is an array of objects, each with at least: slug, page-type, summary
84-
for (const entry of mdn.data) {
84+
for (const entry of mdn) {
8585
const mdnUrl = entry.mdn_url.split("/en-US/docs/")[1];
8686
const slugArr = extractSlug(mdnUrl);
8787
const path = paths[entry.pageType];

0 commit comments

Comments
 (0)