mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
♻️ Clean code
This commit is contained in:
parent
9c512960bc
commit
f3574038e2
28 changed files with 160 additions and 130 deletions
|
|
@ -31,7 +31,7 @@ func Outline(rootID string) (ret []*Path, err error) {
|
|||
WaitForWritingFiles()
|
||||
|
||||
ret = []*Path{}
|
||||
tree, _ := loadTreeByBlockID(rootID)
|
||||
tree, _ := LoadTreeByBlockID(rootID)
|
||||
if nil == tree {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue