Skip to content

Commit 83c4a50

Browse files
authored
Fix ReferenceError: b is not defined (#148)
1 parent fd6492f commit 83c4a50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: index.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module.exports.screen.highlight = function (x, y, width, height, duration, opaci
2727
}
2828

2929
module.exports.screen.capture = function (x, y, width, height) {
30+
let b;
3031
//If coords have been passed, use them.
3132
if (
3233
typeof x !== "undefined" &&

0 commit comments

Comments
 (0)