bugfix(macos+webi): compare dates properly

This commit is contained in:
AJ ONeal
2021-11-14 08:18:33 +00:00
parent 3da9f3e1c5
commit 0d3bff0ad5
+2 -2
View File
@@ -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;
}
});