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
202 stars 35 forks source link

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

Closed rajivshah3 closed 4 years ago

rajivshah3 commented 4 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