mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 04:48:48 +01:00
🎨 Sync repo
This commit is contained in:
parent
a3f7e0f671
commit
23c6cf3b38
1 changed files with 3 additions and 5 deletions
|
|
@ -136,11 +136,9 @@ func SyncData(boot, exit, byHand bool) {
|
|||
// 创建数据快照 https://github.com/siyuan-note/siyuan/issues/5161
|
||||
indexRepoBeforeCloudSync()
|
||||
|
||||
if !boot && !exit && byHand {
|
||||
// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
|
||||
if syncRepoErr := syncRepo(); nil != syncRepoErr {
|
||||
util.LogErrorf("sync repo failed: %s", syncRepoErr)
|
||||
}
|
||||
// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
|
||||
if syncRepoErr := syncRepo(); nil != syncRepoErr {
|
||||
util.LogErrorf("sync repo failed: %s", syncRepoErr)
|
||||
}
|
||||
|
||||
return // TODO: 测试
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue