Skip to content

Commit 627d3e9

Browse files
committed
[Fix] version compare with patch version
1 parent f298e2e commit 627d3e9

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)