Skip to content

Commit

Permalink
Update util.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishub authored Mar 31, 2022
1 parent f69f00b commit c41070e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c41070e

Please sign in to comment.