Repository navigation
Commit 8c53e42
committed
fix: PATCH /config writes to correct project config file
Config.update() was writing to config.json which is never read by the
config loader. Now writes to opencode.jsonc or opencode.json (whichever
exists), matching the files the loader actually reads. Mirrors the
existing globalConfigFile() pattern.
Fixes anomalyco#4194
Fixes anomalyco#69841 parent b551195 commit 8c53e42
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | | - | |
| 1358 | + | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
1364 | 1374 | | |
1365 | 1375 | | |
1366 | 1376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| |||
0 commit comments