🎨 Sync repo

This commit is contained in:
Liang Ding 2022-07-01 23:39:23 +08:00
parent b7beab267d
commit 2b43ca8565
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 7 additions and 7 deletions

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()