Skip to content

Commit

Permalink
Code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Sep 17, 2016
1 parent f2450a3 commit 1218f28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@ args.forEach(function(arg){
files = files.concat(newFiles);
});

if (files.length === 0) {
if (!files.length) {
console.error('No test files found');
process.exit(1);
}

Expand Down

0 comments on commit 1218f28

Please sign in to comment.