Skip to content

Commit

Permalink
fix ordering for version at least
Browse files Browse the repository at this point in the history
  • Loading branch information
EliSchleifer committed Sep 6, 2024
1 parent 5ac93f2 commit 9cb1fd5
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 9cb1fd5

Please sign in to comment.