Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Fix semver check (#120)
Browse files Browse the repository at this point in the history
Previously, the compatibility check always returned false with prerelease versions
  • Loading branch information
AaronDewes authored Jun 5, 2022
1 parent e0fa22d commit 482f86c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions logic/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ export async function getAvailableUpdate(): Promise<versionFile | string> {
isCompatibleWithCurrentVersion = semver.satisfies(
currentVersion,
requiresVersionRange,
{
includePrerelease: true,
},
);

// Calculate the minimum required version
Expand Down

0 comments on commit 482f86c

Please sign in to comment.