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

glob method not matching nested subdirectories #88

Open
DJBen opened this issue May 16, 2024 · 1 comment
Open

glob method not matching nested subdirectories #88

DJBen opened this issue May 16, 2024 · 1 comment

Comments

@DJBen
Copy link

DJBen commented May 16, 2024

Path.glob("/path/**/*.swift") will match

  • path/Sources/aaa.swift

but does not match

  • path/Nested/Sources/aaa.swift

Which is a deviation from the glob definition https://stackoverflow.com/questions/32604656/what-is-the-glob-character

@DJBen
Copy link
Author

DJBen commented May 16, 2024

I believe it is an inherent limitation realm/SwiftLint#3586 (comment)

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 a pull request may close this issue.

1 participant