Repository navigation
Skip prerelease entries when resolving Node versions - #82
Conversation
Co-authored-by: Roemer <393641+Roemer@users.noreply.github.com>
Roemer
left a comment
There was a problem hiding this comment.
adjust the version, also in the features readme. also you can use gover.ParseVersionFromRegex and check the returned error for != nil instead of doing double regex parsing.
Co-authored-by: Roemer <393641+Roemer@users.noreply.github.com>
Updated the Node feature to |
| return allVersions, nil | ||
| } | ||
|
|
||
| func parseNodeVersion(versionString string) (*gover.Version, error) { |
There was a problem hiding this comment.
This method is just a simple wrapper around one function call, use the call directly instead of this wrapper
There was a problem hiding this comment.
Removed the wrapper and called gover.ParseVersionFromRegex directly. Updated the focused tests accordingly. Commit: c22eab4.
Co-authored-by: Roemer <393641+Roemer@users.noreply.github.com>
Node’s release index includes prereleases such as
v27.0.0-alpha.0.0.0. Parsing these with the stable-version parser panicked, breakingltsandlatestresolution.