♻️ Rename func

This commit is contained in:
Daniel 2024-01-06 20:14:39 +08:00
parent b5b05cef49
commit 5a1a632912
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 2 deletions

View file

@ -1560,7 +1560,7 @@ func newRepository() (ret *dejavu.Repo, err error) {
return
}
ignoreLines := getIgnoreLines()
ignoreLines := getSyncIgnoreLines()
ignoreLines = append(ignoreLines, "/.siyuan/conf.json") // 忽略旧版同步配置
ret, err = dejavu.NewRepo(util.DataDir, util.RepoDir, util.HistoryDir, util.TempDir, Conf.System.ID, Conf.System.Name, Conf.System.OS, Conf.Repo.Key, ignoreLines, cloudRepo)
if nil != err {