From c72cfdae48b8d58ace3e08ddf7fde4ce3d2a0a0b Mon Sep 17 00:00:00 2001 From: Daniel Wittner Date: Sat, 2 Nov 2013 00:28:34 +0100 Subject: [PATCH] Amendment for fix for issue 376 --- lib/runners/node.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, {