(env: NodeJS.ProcessEnv = process.env)
| 91 | } |
| 92 | |
| 93 | function getForceExposedToolAliases(env: NodeJS.ProcessEnv = process.env): Set<string> { |
| 94 | const value = env.XCODEBUILDMCP_TEST_FORCE_TOOL_EXPOSURE; |
| 95 | if (!value) { |
| 96 | return new Set(); |
| 97 | } |
| 98 | |
| 99 | return new Set( |
| 100 | value |
| 101 | .split(',') |
| 102 | .map((alias) => alias.trim().toLowerCase()) |
| 103 | .filter((alias) => alias.length > 0), |
| 104 | ); |
| 105 | } |
| 106 | |
| 107 | function buildToolAliasMap(manifest: ResolvedManifest): Map<string, string> { |
| 108 | const toolIdByAlias = new Map<string, string>(); |
no outgoing calls
no test coverage detected