Skip to content

Glob pattern to filter out files not working  #48

@diemax

Description

@diemax

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! 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions