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 c41070e commit efbea14
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)) {
// Test if full version with build digit is provided as a range (such as '1.2.3+4')
// 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 efbea14

Please sign in to comment.