🎨 sync repo

This commit is contained in:
Liang Ding 2022-06-30 21:51:52 +08:00
parent 6378526be9
commit 3d71a2644b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -154,9 +154,9 @@ 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)
}
// 获取工作空间数据配置(数据版本)
dataConf, err := getWorkspaceDataConf()