Skip to content

Commit

Permalink
show help if code or tests are not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
kof committed Jul 18, 2011
1 parent b0331e7 commit 10ebeff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Expand Up @@ -101,7 +101,7 @@ for ( var key in args ) {
return;
}
}
if( !code && !tests ) {
if( !code || !tests ) {
util.print( help );
util.print( "\nBoth --code and --tests arguments are required\n" );
return;
Expand Down

0 comments on commit 10ebeff

Please sign in to comment.