mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🐛 Notebook data may be corrupted during data synchronization https://github.com/siyuan-note/siyuan/issues/9594
This commit is contained in:
parent
a721bbe6f0
commit
70c56c8e25
24 changed files with 88 additions and 96 deletions
|
|
@ -68,7 +68,7 @@ func LoadSnippets() (ret []*conf.Snippet, err error) {
|
|||
func loadSnippets() (ret []*conf.Snippet, err error) {
|
||||
ret = []*conf.Snippet{}
|
||||
confPath := filepath.Join(util.SnippetsPath, "conf.json")
|
||||
if !gulu.File.IsExist(confPath) {
|
||||
if !filelock.IsExist(confPath) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue