Fix comment to reflect reality
This commit is contained in:
parent
1b8443412a
commit
92e8208dd2
|
@ -227,8 +227,8 @@ helpers.formatFilename = function (targetPath) {
|
|||
|
||||
helpers.compareVersion = function (v1, v2) {
|
||||
/**
|
||||
* compareVersion( '1.5.7' , '1.5.8' ) is TRUE
|
||||
* compareVersion( '1.5.8' , '1.5.7' ) is FALSE
|
||||
* compareVersion( '1.5.7' , '1.5.8' ) is FALSE
|
||||
* compareVersion( '1.5.8' , '1.5.7' ) is TRUE
|
||||
* compareVersion( '1.5.7' , '1.5.7' ) is TRUE
|
||||
*/
|
||||
v1 = v1.split('.');
|
||||
|
|
|
@ -206,7 +206,7 @@ targets.setLastVersion = function (type, version) {
|
|||
} else if (type.startsWith('/bootstrap-3-typeahead/4.')) {
|
||||
return '4.0.2';
|
||||
} else if (type.startsWith('/bowser/')) {
|
||||
if (helpers.compareVersion(version, '1.9.4')) return '1.9.4';
|
||||
if (helpers.compareVersion('1.9.4', version)) return '1.9.4';
|
||||
return '2.11.0'
|
||||
} else if (type.startsWith('/bulma/0.')) {
|
||||
return '0.9.2';
|
||||
|
|
Loading…
Reference in New Issue