mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 08:16:10 +01:00
🎨 Use single-line to save doc sort conf
This commit is contained in:
parent
ab705cc5f8
commit
12cd152a6f
2 changed files with 4 additions and 4 deletions
|
|
@ -211,7 +211,7 @@ func ParseAttributeView(avID string) (ret *AttributeView, err error) {
|
|||
}
|
||||
|
||||
func SaveAttributeView(av *AttributeView) (err error) {
|
||||
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t")
|
||||
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
|
||||
if nil != err {
|
||||
logging.LogErrorf("marshal attribute view [%s] failed: %s", av.ID, err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue