mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
bugfix(macos+webi): compare dates properly
This commit is contained in:
+2
-2
@@ -72,10 +72,10 @@ module.exports = function (request) {
|
||||
if ('10.11.6' === a.version) {
|
||||
return -1;
|
||||
}
|
||||
if (a.date > a.date) {
|
||||
if (a.date > b.date) {
|
||||
return 1;
|
||||
}
|
||||
if (a.date < a.date) {
|
||||
if (a.date < b.date) {
|
||||
return -1;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user