Merge pull request #1396 from trheyi/main
Update .gitignore and Refactor Path Resolution in Config
This commit is contained in:
commit
8173bf40e3
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -52,3 +52,4 @@ coverage.html
|
||||||
agent/assistant/hook/*.test.md
|
agent/assistant/hook/*.test.md
|
||||||
agent/search/TODO.md
|
agent/search/TODO.md
|
||||||
agent/search/job-logs.txt
|
agent/search/job-logs.txt
|
||||||
|
agent/test/MULTI_TURN_DESIGN.md
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ func LoadWithRoot(root string) Config {
|
||||||
if root != "" {
|
if root != "" {
|
||||||
cfg.Root, _ = filepath.Abs(root)
|
cfg.Root, _ = filepath.Abs(root)
|
||||||
} else {
|
} else {
|
||||||
cfg.Root, _ = filepath.Abs(cfg.Root)
|
cfg.Root, _ = filepath.Abs(cfg.Root)
|
||||||
}
|
}
|
||||||
|
|
||||||
// App Root
|
// App Root
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue