JoshHiles / secret-scanner

Scan your repo for secrets & prevent secrets from being committed
MIT License
0 stars 1 forks source link

[BUG] Deleting results which are marked as not a secret #18

Closed JoshHiles closed 3 years ago

JoshHiles commented 3 years ago

Describe the bug When running the hook command, the secret-scanner scans the files in the staged changes and compares them against the baseline file.

If the file matches a file in the baseline it checks if any secrets are marked as false & removes them from the results.

However the code actually removes the entire file from the results instead of just the result.

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: