diff --git a/lib/index.js b/lib/index.js index c663418e..6ba36710 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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(); @@ -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) {