Skip to content

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

Description

@pehaada

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions