Successful exit code if a regex is invalid
Open
- Dominant language
- Shell
- Stars
- 13.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
If an invalid regex pattern is added to config, e.g. "(" not escaped, git-secrets exits with exit code 0. Because the regex is invalid, it does not scan anything. This is not good for integrating it into a CI/CD-pipeline. As there is an error, shouldn't git-secrets exit with another exit code?
Contributor guide
Assessment
This issue has not been assessed yet.