mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
Fix build error
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user