Using multiple exclude-files options do not work as expected. Only the last one is used. This is inconsistent with the original tool's current behavior.
Steps to reproduce the behavior:
Create a git repo with 3 folders: folder1, folder2 and folder3. Init these folders with some files.
run `detect-secrets --verbose scan --update .secrets.baseline --exclude-files 'folder1' --exclude-files 'folder2'
See that files in folder1 are scanned.
Expected behavior
Both exclude-files options should be combined with AND-like operator.
Impact
Can't properly exclude files without using a complex regex.
Using multiple exclude-files options do not work as expected. Only the last one is used. This is inconsistent with the original tool's current behavior.
Steps to reproduce the behavior:
Expected behavior Both exclude-files options should be combined with AND-like operator.
Impact
Can't properly exclude files without using a complex regex.
Running version 0.13.1+ibm.56.dss