From c6d78443eae1a28b2befb0946945c4483a26b437 Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Wed, 1 Nov 2023 18:11:59 +0900 Subject: [PATCH] oops --- gobrew.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobrew.go b/gobrew.go index 0a82220..3584c43 100644 --- a/gobrew.go +++ b/gobrew.go @@ -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 {