()
| 116 | * Returns undefined if no cap is configured. |
| 117 | */ |
| 118 | export async function getMaxVersion(): Promise<string | undefined> { |
| 119 | const config = await getMaxVersionConfig() |
| 120 | if (isInternalBuild()) { |
| 121 | return config.ant || undefined |
| 122 | } |
| 123 | return config.external || undefined |
| 124 | } |
| 125 | |
| 126 | /** |
| 127 | * Returns the server-driven message explaining the known issue, if configured. |
no test coverage detected