Skip to content

Commit

Permalink
Fix calling with no arguments bug
Browse files Browse the repository at this point in the history
This closes #10
  • Loading branch information
demsking committed Feb 10, 2018
1 parent 97aee31 commit 759f778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const cli = require('../lib/cli')

if (process.argv.length < 2) {
if (process.argv.length < 3) {
return process.stderr.write(cli.MISSING_FILENAME_MESSAGE)
}

Expand Down

0 comments on commit 759f778

Please sign in to comment.