diff --git a/src/node/update.ts b/src/node/update.ts index 13ac73c3..a156aad6 100644 --- a/src/node/update.ts +++ b/src/node/update.ts @@ -75,7 +75,7 @@ export class UpdateProvider { public isLatestVersion(latest: Update): boolean { logger.debug("comparing versions", field("current", version), field("latest", latest.version)) try { - return latest.version === version || semver.lt(latest.version, version) + return semver.lte(latest.version, version) } catch (error) { return true }