fix comparison

This commit is contained in:
Alex Bozhenko 2024-02-07 07:13:05 -08:00
parent 284d4333e7
commit b41219c975
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ var buildtagFix = fix{
}
func buildtag(f *ast.File) bool {
if version.Compare(*goVersion, buildtagGoVersionCutoff) == -1 {
if version.Compare(*goVersion, buildtagGoVersionCutoff) < 0 {
return false
}