(loc: Location)
| 81 | } |
| 82 | |
| 83 | function configBaseDir(loc: Location): string { |
| 84 | return loc === 'global' ? globalConfigDir() : process.cwd(); |
| 85 | } |
| 86 | |
| 87 | // Pick existing .jsonc, then .json, default to .jsonc for new files. |
| 88 | // opencode auto-creates .jsonc on first run, so that's the dominant |
no test coverage detected