We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e8388 commit 9b39434Copy full SHA for 9b39434
MerlinAU.asp
@@ -85,9 +85,14 @@ function FWVersionStrToNum(verStr)
85
let nonProductionVersionWeight;
86
foundAlphaBetaVersion = verStr.match (/([Aa]lpha|[Bb]eta)/);
87
if (foundAlphaBetaVersion == null)
88
- { nonProductionVersionWeight = 0 ; }
+ {
89
+ nonProductionVersionWeight = 0;
90
+ }
91
else
- { nonProductionVersionWeight = 100 ; }
92
93
+ nonProductionVersionWeight = 100;
94
+ verStr = verStr.replace (/([Aa]lpha|[Bb]eta)[0-9]*/,'0');
95
96
97
// Remove everything after the first non-numeric-and-dot character //
98
// e.g. "3006.102.1.alpha1" => "3006.102.1" //
0 commit comments