Skip to content

Commit

Permalink
fix: Fix the previous MR (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Mar 16, 2024
1 parent e575c8f commit 9462710
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -167,7 +167,7 @@ function getMMockURI(platform, arch, version) {
case 'darwin': {
switch (arch) {
case 'x64': // Amd64
if (semver.gte('4.0.0', version)) { // since 4.0.1 the naming has been changed
if (semver.gte(version, '4.0.0')) { // since 4.0.1 the naming has been changed
return `https://github.com/jmartin82/mmock/releases/download/v${version}/mmock_Darwin_x86_64.tar.gz`
}

Expand Down

0 comments on commit 9462710

Please sign in to comment.