mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-08 12:01:32 -04:00
Fix build error
This commit is contained in:
parent
51615440bf
commit
34d63c8d1c
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user