Skip to content

Commit

Permalink
Fix ReferenceError: b is not defined (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimava authored and s1hofmann committed Jan 12, 2023
1 parent f1cc385 commit cfa9a1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit cfa9a1c

Please sign in to comment.