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