Commit ed3ae5da08e3aa78197343e41af3a66efbe9ad11
grrr
Matt McKegg committed on 6/30/2017, 11:53:36 PMParent: 43326622502c853b045d9b3f486b1631c8a5e93a
Files changed
lib/latest-update.js | changed |
lib/latest-update.js | ||
---|---|---|
@@ -21,9 +21,9 @@ | ||
21 | 21 … | res.on('data', (x) => { |
22 | 22 … | result += x |
23 | 23 … | }).on('end', () => { |
24 | 24 … | var info = JSON.parse(result) |
25 | - if ('1.1.1' || compareVersion(info.tag_name.slice(1), version) > 0) { | |
25 … | + if (compareVersion(info.tag_name.slice(1), version) > 0) { | |
26 | 26 … | update.set(info.tag_name.slice(1)) |
27 | 27 … | } |
28 | 28 … | update.sync.set(true) |
29 | 29 … | }) |
Built with git-ssb-web