cleanup ignored static analysis (#16767)

This commit is contained in:
ferhat elmas authored and GitHub committed 2023-03-06 08:56:10 -08:00
1 parent 3423028713
commit 714283fae2
48 files changed
+182 -261

No files matched your search

+2 -6
View File
@@ -28,9 +28,7 @@ import (
// valueBuilders contains one constructor for each value type.
// Values should match if type is the same.
var valueBuilders = []func() *Value{
func() *Value {
return FromNull()
},
FromNull,
func() *Value {
return FromBool(true)
},
@@ -58,9 +56,7 @@ var valueBuilders = []func() *Value{
// altValueBuilders contains one constructor for each value type.
// Values are zero values and should NOT match the values in valueBuilders, except Null type.
var altValueBuilders = []func() *Value{
func() *Value {
return FromNull()
},
FromNull,
func() *Value {
return FromBool(false)
},