Skip to content

Commit 83ac7e6

Browse files
committed
update sorting as it differs per node versions (6 and 11)
1 parent 05c712a commit 83ac7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if (argv.verbose >= 1) {
8787
b[1] = parseInt(b[1], 10)
8888
return b
8989
})
90-
.sort(function (a, b) { return (a[0] !== b[0]) ? a[0] > b[0] : a[1] > b[1] })
90+
.sort(function (a, b) { return a[1] > b[1] })
9191
.map(function (b) { return b.join(' ') })
9292
.join(', ')
9393
console.log('[doiuse] Browsers: ' + browsers)

0 commit comments

Comments
 (0)