generator icon indicating copy to clipboard operation
generator copied to clipboard

walk.js fails to walk the File Directory on a windows machine

Open pehaada opened this issue 11 years ago • 0 comments

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) {

pehaada avatar Mar 10 '14 17:03 pehaada