Skip to content

Commit

Permalink
only support go.mod major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Nov 2, 2023
1 parent 1dbbb5f commit 5f566b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gobrew.go
Expand Up @@ -94,6 +94,7 @@ func (gb *GoBrew) Interactive(ask bool) {
modVersion := ""
if gb.hasModFile() {
modVersion = gb.getModVersion()
modVersion = ExtractMajorVersion(modVersion)
}

if modVersion == "" {
Expand Down

0 comments on commit 5f566b0

Please sign in to comment.