Skip to content

Improve configuration initialization - #17989

Merged
88250 merged 1 commit into
siyuan-note:devfrom
TCOTC:fix/configuration
Jun 29, 2026
Merged

Improve configuration initialization#17989
88250 merged 1 commit into
siyuan-note:devfrom
TCOTC:fix/configuration

Conversation

@TCOTC

@TCOTC TCOTC commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Description / 描述

fix #17954

gulu.JSON.UnmarshalJSON 返回 err 的时候 Conf 里已经有正常解析好的那部分配置信息了,接下来只要按流程初始化就行。d25e360 的更改本质上起作用的是把 LogErrorf 改成 LogWarnf,新增的 mergeConfWithDefaults 没有实际作用,故删除。

Type of change / 变更类型

  • Bug fix
    缺陷修复
  • Refactoring
    代码重构
  • New feature
    新功能
  • Text updates or new language additions
    修改文案或增加新语言

Checklist / 检查清单

  • I have performed a self-review of my own code
    我对自己的代码进行了自我审查
  • I have full rights to the submitted code and agree to license it under this project's AGPL-3.0 license
    我拥有所提交代码的完整权利,并同意其以本项目的 AGPL-3.0 许可证授权
  • PR is submitted to the dev branch and has no merge conflicts
    PR 提交到 dev 分支,并且没有合并冲突

@88250
88250 merged commit 5afdb09 into siyuan-note:dev Jun 29, 2026
1 check passed
@TCOTC
TCOTC deleted the fix/configuration branch June 30, 2026 04:30
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants