(env)
| 168 | } |
| 169 | |
| 170 | function getCodexConfigFile(env) { |
| 171 | var e = env || process.env; |
| 172 | var explicit = String(e.CODEX_CONFIG_FILE || e.EVOMAP_CODEX_CONFIG_FILE || '').trim(); |
| 173 | if (explicit) return explicit; |
| 174 | var home = e.HOME || os.homedir(); |
| 175 | return home ? path.join(home, '.codex', 'config.toml') : null; |
| 176 | } |
| 177 | |
| 178 | function stripTomlComment(line) { |
| 179 | var out = ''; |
no outgoing calls
no test coverage detected