()
| 330 | * process.platform reports the container OS but the actual host platform differs. |
| 331 | */ |
| 332 | export function getHostPlatformForAnalytics(): Platform { |
| 333 | const override = process.env.CLAUDE_CODE_HOST_PLATFORM |
| 334 | if (override === 'win32' || override === 'darwin' || override === 'linux') { |
| 335 | return override |
| 336 | } |
| 337 | return env.platform |
| 338 | } |
no outgoing calls
no test coverage detected