Fix: prevent default installation of JetBrains pre-releases (#859)

* fix: prevent default installation of JetBrains pre-releases

* simplify prerelease filter logic

* fix basic validation checks
This commit is contained in:
Priya Gupta 2025-07-03 22:33:51 +05:30 committed by GitHub
commit 67aec007b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1486 additions and 1467 deletions

File diff suppressed because it is too large Load diff

View file

@ -41,9 +41,7 @@ describe('getAvailableVersions', () => {
expect(availableVersions).not.toBeNull();
const length =
os.platform() === 'win32'
? manifestData.length - 1
: manifestData.length + 1;
os.platform() === 'win32' ? manifestData.length : manifestData.length + 2;
expect(availableVersions.length).toBe(length);
}, 10_000);
});