only automatically assume test is exec if it has a js extension

This commit is contained in:
Sebastian McKenzie
2015-01-04 07:58:49 +11:00
parent cb54c11d84
commit 0c0f40d14a

View File

@@ -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;
}