Skip to content

Commit

Permalink
fix(cli): running as child process (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkbt authored and Kent C. Dodds committed Jul 8, 2016
1 parent 367f274 commit 636df9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/p-s.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ program
.on('--help', onHelp)
.parse(process.argv)

if (process.argv.length < 3) {
if (program.args.length < 1) {
program.outputHelp()
} else {
loadAndRun()
Expand Down

0 comments on commit 636df9b

Please sign in to comment.