Skip to content

expandDirectories doesn't work with **Β #147

Open
@arcanis

Description

Runkit

const fs = require(`fs`);
const globby = require(`globby`);

fs.mkdirSync(`foo`);
fs.writeFileSync(`foo/bar.ts`, ``);

// Works -> ["foo/bar.ts"]
console.log(globby.sync(`foo`));

// Doesn't work -> []
console.log(globby.sync(`**/foo`));

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