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

exclude files too #1585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

exclude files too #1585

wants to merge 1 commit into from

Conversation

Guillembonet
Copy link

Describe the PR
Allows excluding files as described in the --exclude flag help. Right now only directories can be excluded.

Relation issue
related to #879

Additional context
Files will be excluded in the getAllGoFileInfo function while directories continue to be excluded during the directory walk. This is why in the test I added there are 4 files instead of 3.

Signed-off-by: Guillem Bonet <guillem.bonet@gmail.com>
@Guillembonet
Copy link
Author

hi, I fixed the failing test (I think)

@Guillembonet
Copy link
Author

hey @sdghchj , can someone approve the workflow? thanks!

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.

1 participant