浏览代码

Fix crash

Gaël Métais 4 年之前
父节点
当前提交
ac37ebb4e2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/index.js

+ 1 - 1
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...');