()
| 70 | } |
| 71 | |
| 72 | function getSwiftCacheRoot(): string { |
| 73 | const configured = process.env.AGENT_DEVICE_SWIFT_CACHE_DIR?.trim(); |
| 74 | if (configured) { |
| 75 | return path.resolve(configured); |
| 76 | } |
| 77 | return path.join(os.tmpdir(), 'agent-device-swift-cache'); |
| 78 | } |
| 79 | |
| 80 | async function ensureSwiftExecutable(params: { |
| 81 | sourcePath: string; |
no outgoing calls
no test coverage detected