Skip to content

Path *** is not in cwd ***Β #133

Open
@fjc0k

Description

Just running this code:

const paths = await globby(
 '../src/*.ts',
  {
    dot: true,
    onlyFiles: false,
    gitignore: true,
    cwd: __dirname,
    absolute: true,
  },
)

Then you will get an error:

Path *** is not in cwd ***

But if you set gitignore to false, all works well.

After a bit of investigation, most likely it is caused by this PR: #120

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions