Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-gomes committed Feb 28, 2024
1 parent dd72baa commit 6bc5369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/engines/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ class Puppeteer extends engine.Engine {
res.send(data);
} else {
let data = await page.screenshot({
type: format,
fullPage: fullPage
fullPage: fullPage,
type: format
});
if (trim) {
const image = await jimp.read(data);
Expand Down

0 comments on commit 6bc5369

Please sign in to comment.