diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-01-31 13:00:56 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-01-31 13:00:56 +0100 |
commit | 34d63c8d1cb2725c965b086f999d780d55b4b8c0 (patch) | |
tree | fbca92a8213b847f8c67e410cb0c1d834f71f1de | |
parent | 51615440bf9a932004bca2b69e5805b1ec48427f (diff) | |
download | hugo-34d63c8d1cb2725c965b086f999d780d55b4b8c0.tar.gz hugo-34d63c8d1cb2725c965b086f999d780d55b4b8c0.zip |
Fix build error
-rw-r--r-- | parser/lowercase_camel_json.go | 1 |
1 files changed, 0 insertions, 1 deletions
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 } |