mirror of https://github.com/golang/go.git
fix comparison
This commit is contained in:
parent
284d4333e7
commit
b41219c975
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue