From 9b1f31cd9229c3328fa26d009e9b5eb76ed3aa82 Mon Sep 17 00:00:00 2001 From: "C. J. Tantay" Date: Mon, 11 Nov 2024 04:13:38 -0800 Subject: [PATCH] lint fix --- lib/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {