GitGuardian / gitguardian-vscode

Stop leaks. Safeguard your secrets with GitGuardian. GitGuardian actively prevents accidental exposure of sensitive information in your code, allowing you to code confidently and maintain the integrity of your data.
https://marketplace.visualstudio.com/items?itemName=gitguardian-secret-security.gitguardian
MIT License
21 stars 0 forks source link

feat: stop displaying error when scanning ignored file #39

Closed gg-jonathangriffe closed 2 weeks ago

gg-jonathangriffe commented 1 month ago

When saving any file ignored in the .gitguardian.yaml, the extension tries to scan it, resulting in a ggshield error : "An ignored file or directory cannot be scanned".

We should probably not display errors during the extension's normal use.

This MR filters this error and prevents displaying an error to the user.