From c41070eda4f4d598540a89ad4a0e333b2b5bba07 Mon Sep 17 00:00:00 2001 From: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com> Date: Thu, 31 Mar 2022 20:46:04 +0530 Subject: [PATCH] Update util.ts --- src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.ts b/src/util.ts index 588b362..c7dfb79 100644 --- a/src/util.ts +++ b/src/util.ts @@ -50,7 +50,7 @@ export function getDownloadArchiveExtension() { export function isVersionSatisfies(range: string, version: string): boolean { if (semver.valid(range)) { - // if full version with build digit is provided as a range (such as '1.2.3+4') + // Test if full version with build digit is provided as a range (such as '1.2.3+4') // we should check for exact equal via compareBuild // since semver.satisfies doesn't handle 4th digit const semRange = semver.parse(range);