Skip to content

Commit a80cf60

Browse files
committed
🐛 build: fix marked is not a function, unblocks #2482
1 parent ae075a7 commit a80cf60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release-image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ exports.run = async () => {
118118
url: "https://twemoji.maxcdn.com/v/latest/twemoji.min.js"
119119
});
120120
await page.setViewport({ width: 800, height: 800, deviceScaleFactor: 2 });
121-
await page.setContent(html(marked(release.body),packageName,release));
121+
await page.setContent(html(marked.parse(release.body),packageName,release));
122122
await page.evaluate(`document.fonts.ready`);
123123
await page.screenshot((await screenShotOptions(page)));
124124
console.log('Wrote screenshot to release.png');

0 commit comments

Comments
 (0)