Skip to content

Commit

Permalink
Allow extra input params during profiling (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
wprater authored and sindresorhus committed Jun 29, 2017
1 parent 854203a commit 05bfafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const cli = meow(`
}
});

if (cli.input.length !== 1) {
if (cli.input.length === 0) {
throw new Error('Specify a test file');
}

Expand Down

0 comments on commit 05bfafe

Please sign in to comment.