aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-31 13:00:56 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-31 13:00:56 +0100
commit34d63c8d1cb2725c965b086f999d780d55b4b8c0 (patch)
treefbca92a8213b847f8c67e410cb0c1d834f71f1de /parser
parent51615440bf9a932004bca2b69e5805b1ec48427f (diff)
downloadhugo-34d63c8d1cb2725c965b086f999d780d55b4b8c0.tar.gz
hugo-34d63c8d1cb2725c965b086f999d780d55b4b8c0.zip
Fix build error
Diffstat (limited to 'parser')
-rw-r--r--parser/lowercase_camel_json.go1
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
}