From 0c0f40d14a9b3300c0310475f3f54814a1a3c281 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sun, 4 Jan 2015 07:58:49 +1100 Subject: [PATCH] only automatically assume test is exec if it has a js extension --- test/_helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/_helper.js b/test/_helper.js index 8273a11443..6f5afdd93b 100644 --- a/test/_helper.js +++ b/test/_helper.js @@ -49,7 +49,7 @@ exports.get = function (entryName) { if (fs.statSync(taskDir).isFile()) { var ext = path.extname(taskDir); - if (ext === ".json") return; + if (ext !== ".js") return; execLoc = taskDir; }