Skip to content

Commit

Permalink
recurrsive judge
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Nov 14, 2023
1 parent 67a6fba commit 97a39e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gobrew.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func (gb *GoBrew) judgeVersion(version string) string {
if strings.Count(modVersion, ".") == 1 {
modVersion = modVersion + "@latest"
}
return modVersion
return gb.judgeVersion(modVersion)
}
if version == "latest" || version == "dev-latest" {
groupedVersions := gb.ListRemoteVersions(false) // donot print
Expand Down

0 comments on commit 97a39e2

Please sign in to comment.