Skip to content

Commit cfa9a1c

Browse files
Dimavas1hofmann
authored andcommitted
Fix ReferenceError: b is not defined (#148)
1 parent f1cc385 commit cfa9a1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)