mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Uninstalling plugins, widgets and templates may cause data sync errors https://github.com/siyuan-note/siyuan/issues/10324
This commit is contained in:
parent
fe9e261feb
commit
745c9bcf99
7 changed files with 14 additions and 12 deletions
|
|
@ -120,7 +120,7 @@ func ListNotebooks() (ret []*Box, err error) {
|
|||
}
|
||||
if readErr = gulu.JSON.UnmarshalJSON(data, boxConf); nil != readErr {
|
||||
logging.LogErrorf("parse box conf [%s] failed: %s", boxConfPath, readErr)
|
||||
os.RemoveAll(boxConfPath)
|
||||
filelock.Remove(boxConfPath)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue