Skip to content

Commit

Permalink
🦘 skip invalid semantic versions
Browse files Browse the repository at this point in the history
🦘 skip invalid semantic versions
  • Loading branch information
petar-cvit authored Apr 3, 2024
2 parents 8414ca5 + bbf8819 commit c59be3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/template/semver.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func filterVersions(versions []string, constraint *semver.Constraints) ([]*semve
for _, v := range versions {
parsedVersion, err := semver.NewVersion(v)
if err != nil {
return nil, err
continue
}

if constraint.Check(parsedVersion) {
Expand Down

0 comments on commit c59be3f

Please sign in to comment.