snyk / vulncost

Find security vulnerabilities in open source npm packages while you code
https://marketplace.visualstudio.com/items?itemName=snyk-security.vscode-vuln-cost
MIT License
200 stars 34 forks source link

fix: Only show "click to fix" if a remediation is available #44

Closed rajivshah3 closed 3 years ago

rajivshah3 commented 3 years ago

As mentioned in #32 , "click to fix" is shown on all vulnerabilities, even ones that do not have a fix available:

image image

This PR changes the behavior so that "click to fix" is only shown for fixable vulnerabilities