Skip to content

🐛 Bug: include glob is broken on windows #2351

@AjiTae

Description

@AjiTae

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Expected

Expected it to work.:)

Actual

collectFileNamesFromGlobs uses default node:path which results in paths like C:\foo\bar\**\*.js on windows.
glob processes backslashes as escape characters and so returns nothing of use.

You should use something like upath for all paths work, or set windowsPathsNoEscape: true in the glob options.

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsPlease, send a pull request to resolve this! 🙏type: bugSomething isn't working :( 🐛

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions