generator
generator copied to clipboard
walk.js fails to walk the File Directory on a windows machine
Not sure if this is specific to windows or not but the walk.js won't walk the folder structure on a windows machine. I' working on a fix by upgrading to version 1.1.1 of findit and modifying walk.js to take into account the new version of findit.
find.on('file', function (file) { files.push(file); console.log(file) ; });
find.on('end',function(){
// Iterate over each file to find matches ("hits")
async.forEach(files, function (file, callback) {
fs.lstat(file, function (err, stat) {