Skip to content

Commit 30c0b99

Browse files
committed
(#47) Refactored screen class
1 parent bf4d053 commit 30c0b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screen.class.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class Screen {
7878
});
7979

8080
const currentScreen = await this.vision.grabScreen();
81-
this.vision.saveImage(currentScreen, outputPath);
81+
await this.vision.saveImage(currentScreen, outputPath);
8282
return outputPath;
8383
}
8484
}

0 commit comments

Comments
 (0)