Skip to content

Commit

Permalink
chore(core): remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipraty committed Mar 15, 2024
1 parent 7fd11ce commit 1927465
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ class Puppeteer extends Service {
const output = await callback(page, async (handle) => {
const clip = handle ? await handle.boundingBox() : null
const buffer = await page.screenshot({ clip, ...renderConfig })
// check screenshotOptions.type to determine the image MIME type
return h.image(buffer, `image/${renderConfig.type}`).toString()
})

Expand Down

0 comments on commit 1927465

Please sign in to comment.