Comparing version 0.1.2 to 0.1.3
@@ -34,3 +34,4 @@ var fs = require('fs'); | ||
}, | ||
concatArray: function (arrays) { // res == array of array | ||
concatArray: function (arrays) { | ||
if(!arrays || arrays.length == 0) return arrays; | ||
for(var a in arrays) { | ||
@@ -53,2 +54,2 @@ if (a == 0) { | ||
} | ||
} | ||
} |
@@ -65,3 +65,3 @@ var async = require('async'); | ||
Antr.prototype.runSingleTest = function(item, self, callback){ | ||
var runTest = spawn(process.argv[0], [ item ]); | ||
var runTest = spawn(process.execPath, [ item ]); | ||
var storedData = []; | ||
@@ -127,2 +127,3 @@ | ||
async.map(dirs, this.findFiles.bind(this), function(err, results){ | ||
results = results.filter(function(n){return n;}); | ||
var files = helper.concatArray(results); | ||
@@ -147,3 +148,2 @@ if( self._options.listFiles ) console.log('Files going to be run: ', files); | ||
module.exports = Antr; | ||
module.exports = Antr; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"dependencies": { | ||
@@ -29,2 +29,2 @@ "async": "0.2.9", | ||
} | ||
} | ||
} |
16066
26
427