Skip to content

Commit

Permalink
Merge pull request #436 from EliSchleifer/main
Browse files Browse the repository at this point in the history
Fix incorrect minVersion check - Bug here is either the function is misnamed or the logic is inverted
  • Loading branch information
dnephin committed Sep 17, 2024
2 parents 57f1b7f + 9cb1fd5 commit 6432e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/goversion_go122.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ import (
)

func isGoVersionAtLeast(v string) bool {
return goversion.Compare(runtime.Version(), v) < 0
return goversion.Compare(v, runtime.Version()) < 0
}

0 comments on commit 6432e97

Please sign in to comment.