(loc: Location)
| 92 | } |
| 93 | |
| 94 | function configBaseDir(loc: Location): string { |
| 95 | return loc === 'global' ? globalConfigDir() : process.cwd(); |
| 96 | } |
| 97 | |
| 98 | // Pick existing .jsonc, then .json, default to .jsonc for new files. |
| 99 | // opencode auto-creates .jsonc on first run, so that's the dominant |
no test coverage detected