jfrog / jfrog-vscode-extension

JFrog VS-Code Extension
https://jfrog.github.io/jfrog-vscode-extension
Apache License 2.0
189 stars 32 forks source link

Fix Go scanning when Go version is partial #466

Closed attiasas closed 4 months ago

attiasas commented 4 months ago

When scanning project with Go version 1.x, the SemVer can't parse the string to create a version object: image

This fix adds a .0 suffix to the version so it can parse, allowing to scan them

github-actions[bot] commented 4 months ago
[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)

[🐸 JFrog Frogbot](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot)