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 file isn't working #28

Open
maiconsanson opened this issue Jan 7, 2025 · 0 comments
Open

Exclude file isn't working #28

maiconsanson opened this issue Jan 7, 2025 · 0 comments

Comments

@maiconsanson
Copy link

maiconsanson commented Jan 7, 2025

Hello, thanks for the cloc-action.

What am I missing here to exclude a file to be counted?
Neither --exclude-list-file nor --not-match-f seems to work.

Locally, it is working great as always. 🤡
github.com/AlDanial/cloc v 2.02

For example, I want to exclude the pnpm-lock.yaml from being counted and I have something like these:

- name: Count Lines of Code with additional options
        uses: djdefi/cloc-action@main
        with:
          options: |
            --exclude-dir=node_modules,public \
            --not-match-f="pnpm-lock\.yaml" \
            --quiet --hide-rate --skip-uniqueness --fullpath --md \
            --report-file=.github/workflows/cloc_stats.md \

The --exclude-dir param is working using folders as expected.

Thanks for any suggestions.

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

1 participant