()
| 57 | } |
| 58 | |
| 59 | function resolveWindowsCodexCommand(): CodexCommand { |
| 60 | for (const candidate of findWhereResults('codex')) { |
| 61 | const resolved = resolveWindowsCandidate(candidate); |
| 62 | if (resolved) { |
| 63 | return resolved; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | return { command: 'codex', args: [] }; |
| 68 | } |
| 69 | |
| 70 | export function resolveCodexCommand(): CodexCommand { |
| 71 | if (process.platform !== 'win32') { |
no test coverage detected