Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Commit

Permalink
refactor: no need to initialize windowList
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Apr 13, 2019
1 parent 32c9f95 commit ccc449d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windowUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var windowExists = (pid, idInDec) => {
`xdotool search --maxdepth=2 --pid ${pid}`,
);

let windowList = ByteArray.toString(stdout);
let windowList;

if (stdout instanceof Uint8Array) {
windowList = ByteArray.toString(stdout);
Expand Down

0 comments on commit ccc449d

Please sign in to comment.