-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ability to exclude file patterns #35
Comments
Hello @uptickmetachu , Thanks for reaching out. By default the scan function ignores files based on the ignore files in your repository. Could you please create a .ccignore file in the repository root and add the files you want to ignore there just like you would do it in a .gitignore file? I hope it will solve the problem. |
No combination in my .ccignore is getting node_modules ignored.
|
Right; I think the home brew version doesn't have this code. |
Hello @uptickmetachu , I just tested it on my computer and the .ccignore file worked fine for me. Could you please show me the full log or at least some part after the HTTP response: 200 OK log message. |
Hi @laliconfigcat thanks for your response. I've managed to get the .gitignore/.ccignore picked up but I realise now why it wasn't being picked up. I was pointing configcat at a subdirectory; eg: Config cat only looks for the ignore files within the subdirectory rather than detecting So a short summary of problems
|
Some GPT generated code that seemed to have fixed the issue. |
Hi @uptickmetachu, thank you for the insights! What you mentioned is correct, I'll take a look into the options to include the For the problem of too many files open, the CLI should probably detect the current |
Hi @uptickmetachu, I've released a new version of the CLI ( |
Is your feature request related to a problem? Please describe.
We get these errors: [error]: Too many open files : 'SOME_FILE.d.ts'
when using configcat scan.
Describe the solution you'd like
It would be good if we can exclude file patterns when using config cat scan.
Describe alternatives you've considered
none.
Additional context
The text was updated successfully, but these errors were encountered: