From ef705735f7a9f96a8cc7f093a28bc4503dd2ad30 Mon Sep 17 00:00:00 2001 From: Gerrit Grunwald Date: Fri, 12 Mar 2021 10:45:24 +0100 Subject: [PATCH] Include ea builds only if 'ea' was part of the given version --- src/installer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index 6decf136..f0e1d916 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -266,7 +266,9 @@ async function getDownloadInfo( } else { url += '&package_type=' + packageType; } - url += '&release_status=ea'; + if (version.includes('ea') { + url += '&release_status=ea'; + } url += '&release_status=ga'; url += '&architecture=' + architecture; url += '&operating_system=' + operatingSystem;