()
| 341 | * process.platform reports the container OS but the actual host platform differs. |
| 342 | */ |
| 343 | export function getHostPlatformForAnalytics(): Platform { |
| 344 | const override = process.env.CLAUDE_CODE_HOST_PLATFORM |
| 345 | if (override === 'win32' || override === 'darwin' || override === 'linux') { |
| 346 | return override |
| 347 | } |
| 348 | return env.platform |
| 349 | } |
no outgoing calls
no test coverage detected