-
Notifications
You must be signed in to change notification settings - Fork 60
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
Consecutive separator behaviour #46
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As was already discussed in #20, patterns containing
**/*
may lead to unexpected results for most users. After porting https://github.com/goreleaser/nfpm toglob
, this was reported as a regression (goreleaser/nfpm#256).Currently, the pattern
test/**/*
does not matchtest/file
but it does matchtest//file
(https://play.golang.org/p/geU9afuijny). While this is technically correct, it is not what users expect, sincetest/file
andtest//file
are identical in the context of file systems.This situation could be solved by modifying the AST. This could also be added as an option using the pattern described in #45.
The text was updated successfully, but these errors were encountered: