(filePath: string | null, label: string)
| 1237 | } |
| 1238 | |
| 1239 | function assertFileExists(filePath: string | null, label: string): void { |
| 1240 | if (!filePath || !fs.existsSync(filePath)) { |
| 1241 | throw new Error(`${label} is not installed: ${filePath ?? 'unknown path'}`); |
| 1242 | } |
| 1243 | } |
| 1244 | |
| 1245 | function printInstallPlan(plan: CodexNativeApiDaemonInstallPlan): void { |
| 1246 | process.stdout.write(`platform: ${plan.layout.platform}\n`); |
no outgoing calls
no test coverage detected