diff --git a/lib/runners/node.js b/lib/runners/node.js index d83f6df..3a2a59e 100644 --- a/lib/runners/node.js +++ b/lib/runners/node.js @@ -100,9 +100,8 @@ var testRun = { }, runTests: function (rs, manifests) { - if (this.aborted || rs.loadPath.paths().length === 0) { - return this.done(); - } + if (this.aborted) { return; } + if (rs.loadPath.paths().length === 0) { return this.done(); } try { writeManifest(cacheFile(this.config), manifests); var runner = test.autoRun(this.options, {