Skip to content

Commit

Permalink
MinVersion failing for '^2.16.2 ^2.16' alike range
Browse files Browse the repository at this point in the history
Patch for issue #340
  • Loading branch information
alfredsgenkins authored Sep 1, 2020
1 parent 6088070 commit e2d11bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ranges/min-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const minVersion = (range, loose) => {
/* fallthrough */
case '':
case '>=':
if (!minver || gt(minver, compver)) {
if (!minver || gt(compver, minver)) {
minver = compver
}
break
Expand Down

0 comments on commit e2d11bf

Please sign in to comment.