Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Nov 1, 2023
1 parent d900ad5 commit c6d7844
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 @@ -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 c6d7844

Please sign in to comment.