Skip to content

Commit

Permalink
fix: cut-video input checks (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
jveldboom authored Jun 15, 2023
1 parent 13788b8 commit 383cf89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cut-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const argv = yargs.usage('cut-video')
if (!fs.existsSync(argv.video)) {
throw new Error(`Error: the video file "${argv.video}" does not exist`)
}
return true
}).argv

process.env.DEBUG = argv.debug
Expand Down

0 comments on commit 383cf89

Please sign in to comment.