Skip to content

Commit

Permalink
Merge pull request #148 from kevincobain2000/feature/gobrew-bug
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
kevincobain2000 committed Nov 1, 2023
2 parents d900ad5 + c6d7844 commit b612228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gobrew.go
Expand Up @@ -146,7 +146,7 @@ func (gb *GoBrew) Interactive(ask bool) {
return
}

if currentMajorVersion != modVersion {
if modVersion != "None" && currentMajorVersion != modVersion {
color.Warnf("GO Installed Version (%s) and go.mod Version (%s) are different.\n", currentMajorVersion, modVersion)
c := true
if ask {
Expand Down

0 comments on commit b612228

Please sign in to comment.