Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtantay committed Nov 11, 2024
1 parent 3965e60 commit 9b1f31c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class Baker extends EventEmitter {
await page.setViewport({
width: FIXED_FALLBACK_SCREENSHOT_WIDTH,
height: currentViewport.height,
deviceScaleFactor: 2
deviceScaleFactor: 2,
});

await page.waitForNetworkIdle();
Expand All @@ -443,8 +443,8 @@ export class Baker extends EventEmitter {
x: boundingBox.x,
y: boundingBox.y,
width: FIXED_FALLBACK_SCREENSHOT_WIDTH,
height: boundingBox.height + EXTRA_CONTENT_HEIGHT
}
height: boundingBox.height + EXTRA_CONTENT_HEIGHT,
},
});
await page.close();
} catch (err) {
Expand Down

0 comments on commit 9b1f31c

Please sign in to comment.