Permalink
Browse files

Fix typo

  • Loading branch information...
notclive committed Aug 19, 2013
1 parent dae3d11 commit e0110170fe46f296a040b7891d4af7c65fe3f8a6
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/jasmine-node/autotest.js
View
8 lib/jasmine-node/autotest.js 100644 → 100755
@@ -27,13 +27,13 @@ var run_external = function(command, args, callback) {
}
}
-var last_run_succesful = false;
+var last_run_successful = false;
var run_everything = function() {
// run the suite when it starts
var argv = [].concat(baseArgv);
run_external(argv.shift(), argv, function (code) {
- last_run_succesful = code === 0
+ last_run_successful = code === 0
});
}
@@ -62,11 +62,11 @@ exports.start = function(loadpaths, watchFolders, patterns) {
run_external(argv.shift(), argv, function(code) {
// run everything if we fixed some bugs
if(code == 0) {
- if(!last_run_succesful) {
+ if(!last_run_successful) {
run_everything();
}
} else {
- last_run_succesful = false;
+ last_run_successful = false;
}
});
}

0 comments on commit e011017

Please sign in to comment.