Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern that starting with a forward slash has incorrectly form in the deep filter #277

Closed
mrmlnc opened this issue Jun 16, 2020 · 2 comments
Assignees
Milestone

Comments

@mrmlnc
Copy link
Owner

mrmlnc commented Jun 16, 2020

Environment

  • OS Version: Ubuntu 20
  • Node.js Version: 14.4.0

Actual behavior

{ basePath: '/', entry: '//bin' }
{ basePath: '/', entry: '//boot' }
{ basePath: '/', entry: '//dev' }
{ basePath: '/', entry: '//etc' }

Expected behavior

{ basePath: '/', entry: '/bin' }
{ basePath: '/', entry: '/boot' }
{ basePath: '/', entry: '/dev' }
{ basePath: '/', entry: '/etc' }

Steps to reproduce

  1. require('fast-glob').sync('/*')

Code sample

Nope.

@mrmlnc mrmlnc self-assigned this Jun 16, 2020
@mrmlnc
Copy link
Owner Author

mrmlnc commented Jun 16, 2020

This is a regression between 2.x.x and 3.x.x.

@mrmlnc
Copy link
Owner Author

mrmlnc commented Dec 28, 2020

Works with a fresh install of the fast-glob package.

@mrmlnc mrmlnc closed this as completed Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant