in common/qodana.ts [82:96]
export function getQodanaUrl(
arch: string,
platform: string,
nightly = false
): string {
if (!SUPPORTED_PLATFORMS.includes(platform)) {
throw new Error(`Unsupported platform: ${platform}`)
}
if (!SUPPORTED_ARCHS.includes(arch)) {
throw new Error(`Unsupported architecture: ${arch}`)
}
const archive = platform === 'windows' ? 'zip' : 'tar.gz'
const cli_version = nightly ? 'nightly' : `v${version}`
return `https://github.com/JetBrains/qodana-cli/releases/download/${cli_version}/qodana_${platform}_${arch}.${archive}`
}