Skip to content

Commit e145ef9

Browse files
committed
enable --no-countdown flag
1 parent 332c8e8 commit e145ef9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/recordVideo.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const ENTER_KEYS = {
3232
* @param {string} outFile
3333
*/
3434
module.exports.recordVideo = async (outFile) => {
35-
await countdown()
35+
if (cli.flags.countdown) {
36+
await countdown()
37+
}
3638

3739
const hasVisibleTouchesByDefault = getVisibleTouches()
3840

0 commit comments

Comments
 (0)