Permalink
Browse files

build

  • Loading branch information...
1 parent 4da2723 commit 8f66a59657dc37e523749f519753cdade9486b5f @tj tj committed Jan 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mocha.js
View
@@ -1324,7 +1324,7 @@ function Mocha(options) {
*/
Mocha.prototype.bail = function(bail){
- if (null == bail) bail = true;
+ if (0 == arguments.length) bail = true;
this.suite.bail(bail);
return this;
};

0 comments on commit 8f66a59

Please sign in to comment.