Merge pull request #1396 from trheyi/main

Update .gitignore and Refactor Path Resolution in Config
This commit is contained in:
Max 2025-12-25 12:13:29 +08:00 committed by GitHub
commit 8173bf40e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -52,3 +52,4 @@ coverage.html
agent/assistant/hook/*.test.md
agent/search/TODO.md
agent/search/job-logs.txt
agent/test/MULTI_TURN_DESIGN.md

View file

@ -130,7 +130,7 @@ func LoadWithRoot(root string) Config {
if root != "" {
cfg.Root, _ = filepath.Abs(root)
} else {
cfg.Root, _ = filepath.Abs(cfg.Root)
cfg.Root, _ = filepath.Abs(cfg.Root)
}
// App Root