Skip to content

Missing results when using the synchronous files function  #66

Description

@nataelbaffou

When using the sync files function : files(dir, {sync:true}) no value is returned.
Indeed in the file lib/paths.js in the definition of the return line is : if(options.sync)return;
And should be : if(options.sync)return results;

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