projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da9f3e
)
bugfix(macos+webi): compare dates properly
author
AJ ONeal
<aj@therootcompany.com>
Wed, 10 Nov 2021 09:07:50 +0000
(09:07 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Sun, 14 Nov 2021 08:18:33 +0000
(08:18 +0000)
macos/releases.js
patch
|
blob
|
history
diff --git
a/macos/releases.js
b/macos/releases.js
index 39f7c3fde683ce3b31a497f646035be94a5dc1fe..c0201a6c61dac9ab8073c8b3d9e250d031065cb6 100644
(file)
--- a/
macos/releases.js
+++ b/
macos/releases.js
@@
-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;
}
});