From 34d63c8d1cb2725c965b086f999d780d55b4b8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 31 Jan 2024 13:00:56 +0100 Subject: [PATCH] Fix build error --- parser/lowercase_camel_json.go | 1 - 1 file changed, 1 deletion(-) diff --git a/parser/lowercase_camel_json.go b/parser/lowercase_camel_json.go index 72715a04b..af0891de6 100644 --- a/parser/lowercase_camel_json.go +++ b/parser/lowercase_camel_json.go @@ -38,7 +38,6 @@ func (c NullBoolJSONMarshaller) MarshalJSON() ([]byte, error) { if err != nil { return nil, err } - i := bytes.Index(b, []byte("enableDefault")) return nullEnableBoolRegex.ReplaceAll(b, []byte(`"$1": false`)), nil }