Skip to content

Commit

Permalink
simplify module match
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksym Trofimenko committed Dec 31, 2024
1 parent f9c4f84 commit 7fdc8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (i Info) GetMajorName() string {
if v == nil {
return i.GetNameAndVersion()
}
return fmt.Sprintf("%s:%d", i.Name, v.Major())
return fmt.Sprintf("%s:v%d", i.Name, v.Major())
}

func (i Info) GetMajorNameSanitised() string {
Expand Down

0 comments on commit 7fdc8a8

Please sign in to comment.