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