mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 04:58:06 +01:00
🐛 同步生成冲突文档报错 Fix https://github.com/siyuan-note/siyuan/issues/5739
This commit is contained in:
parent
b508abd31d
commit
18f490baa5
3 changed files with 7 additions and 7 deletions
|
|
@ -556,7 +556,7 @@ func syncRepo(boot, exit, byHand bool) (err error) {
|
|||
}
|
||||
boxID := parts[0]
|
||||
|
||||
absPath := filepath.Join(util.TempDir, "repo", "sync", "conflicts", file.Path)
|
||||
absPath := filepath.Join(util.TempDir, "repo", "sync", "conflicts", mergeResult.Time.Format("2006-01-02-150405"), file.Path)
|
||||
tree, loadTreeErr := loadTree(absPath, luteEngine)
|
||||
if nil != loadTreeErr {
|
||||
logging.LogErrorf("load conflicted file [%s] failed: %s", absPath, loadTreeErr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue