🎨 Sync repo

This commit is contained in:
Liang Ding 2022-07-01 23:46:52 +08:00
parent 2b43ca8565
commit 60ab836ca4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -137,11 +137,11 @@ func SyncData(boot, exit, byHand bool) {
indexRepoBeforeCloudSync()
// 同步数据仓库 https://github.com/siyuan-note/siyuan/issues/5142
//if syncRepoErr := syncRepo(); nil != syncRepoErr {
// util.LogErrorf("sync repo failed: %s", syncRepoErr)
//}
if syncRepoErr := syncRepo(); nil != syncRepoErr {
util.LogErrorf("sync repo failed: %s", syncRepoErr)
}
//return // TODO: 测试
return // TODO: 测试
WaitForWritingFiles()
writingDataLock.Lock()