From ac37ebb4e229450b5a6afb0287d7c54f9fb95012 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 22 Mar 2021 00:10:31 +0000 Subject: [PATCH] Fix crash --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index f8b81e1..06fcf9f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -37,7 +37,7 @@ var yellowLabTools = function(url, options) { delete data.params.options.screenshot; // TODO: temporarily set all screenshot sizes to 600px, until we find a solution - ScreenshotHandler.findAndOptimizeScreenshot(600); + ScreenshotHandler.findAndOptimizeScreenshot(600) .then(function(screenshotBuffer) { debug('Screenshot optimized, now saving...');