We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89ebe5a commit 68b5c79Copy full SHA for 68b5c79
1 file changed
Jakefile.js
@@ -729,19 +729,20 @@ function runConsoleTests(defaultReporter, defaultSubsets) {
729
tests = subsetRegex ? ' -g "' + subsetRegex + '"' : '';
730
var cmd = "mocha" + (debug ? " --debug-brk" : "") + " -R " + reporter + tests + colors + ' -t ' + testTimeout + ' ' + run;
731
console.log(cmd);
732
- exec(cmd, function () {
+ function finish() {
733
deleteTemporaryProjectOutput();
734
+ complete();
735
+ }
736
+ exec(cmd, function () {
737
if (lintFlag && i === 0) {
738
var lint = jake.Task['lint'];
739
lint.addListener('complete', function () {
740
complete();
741
});
742
lint.invoke();
743
}
- else {
- complete();
- }
744
- });
+ finish();
745
+ }, finish);
746
747
748
0 commit comments