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 pattern to filter out files not working #48

Open
diemax opened this issue Feb 18, 2023 · 2 comments
Open

Glob pattern to filter out files not working #48

diemax opened this issue Feb 18, 2023 · 2 comments

Comments

@diemax
Copy link

diemax commented Feb 18, 2023

Hello, how're you? Thanks for such a great project first of all! 😄
I have a question, it seems like the glob I'm passing as a parameter isn't working, I have a bunch of yaml files (.yml and .yaml extensions), and I need to filter them out, I'm trying the next command as input:

$ code-complexity . --limit 5 --filter '*.yml,*.yaml'

I've also tried:

$ code-complexity . --limit 5 --filter '*.yml'

And I'm always getting an empty result:

┌──────┬────────────┬───────┬───────┐
│ file │ complexity │ churn │ score │
└──────┴────────────┴───────┴───────┘

What am I missing here? I've also tried

$ code-complexity . --limit 5 --filter '**/*.yaml'

But no luck 😢

Thanks in advance! 😄

@georgetmayorga
Copy link

This is happening to me as well—any resolution @diemax ?

@Amirault
Copy link

Amirault commented Nov 3, 2023

Try without quote ;)

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

No branches or pull requests

3 participants