From cfa9a1c3155d3c3e958ec7e148e5e2624bf0914a Mon Sep 17 00:00:00 2001 From: Dimava Date: Mon, 12 Dec 2022 21:50:04 +0300 Subject: [PATCH] Fix `ReferenceError: b is not defined` (#148) --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index f0aa60a..2176587 100644 --- a/index.js +++ b/index.js @@ -27,6 +27,7 @@ module.exports.screen.highlight = function (x, y, width, height, duration, opaci } module.exports.screen.capture = function (x, y, width, height) { + let b; //If coords have been passed, use them. if ( typeof x !== "undefined" &&