Skip to content

Commit 31bf312

Browse files
committed
Merge pull request locutusjs#82 from mcuadros/master
[Fix] version compare with patch version
2 parents 33ee86a + 627d3e9 commit 31bf312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/info/version_compare.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ function version_compare (v1, v2, operator) {
3838
'RC': -3,
3939
'rc': -3,
4040
'#': -2,
41-
'p': -1,
42-
'pl': -1
41+
'p': 1,
42+
'pl': 1
4343
},
4444
// This function will be called to prepare each version argument.
4545
// It replaces every _, -, and + with a dot.

0 commit comments

Comments
 (0)