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

Fix expandDirectories and ignores option working together #88

Merged

Conversation

alexander-alvarez
Copy link
Contributor

@alexander-alvarez alexander-alvarez commented Jul 3, 2018

I came across #62 when encountering an issue with relative paths + ignores. I tried fixing the relative path issue, but I've concluded that seems to be in fast-glob, but it did seem to fix #62, so I'm PR-ing it and a failing test case for the relative path

Fixes #62

@alexander-alvarez
Copy link
Contributor Author

The appveyor seems unrelated

@sindresorhus sindresorhus changed the title feat: Expand dir w ignores Fix expandDirectories and ignores option working together Sep 10, 2018
@pvdlg
Copy link
Contributor

pvdlg commented Sep 10, 2018

The relative path issue is due to #87.
The problem has been fixed in dir-glob but never released. It seems the library is not maintained anymore: kevva/dir-glob#7

Maybe we could copy the code of dir-glob into globby so we could solve the problem completely?

@sindresorhus
Copy link
Owner

@pvdlg I talked with the author of dir-glob. He lost his phone with 2FA codes a while ago. He's gonna try to get into his npm account and publish it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expandDirectories option should also apply to ignore patterns
3 participants