Skip to content

Commit bd65454

Browse files
author
Josh Long
committed
ref: fix sort compareFn
1 parent 09f2086 commit bd65454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/logger/src/lib/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export class LogManager {
444444

445445
return keys
446446
.sort((a: [string, number], b: [string, number]) => {
447-
return a[1] > b[1] ? a[1] : b[1];
447+
return a[1] - b[1];
448448
})
449449
.map((value: [string, number]) => {
450450
return value[0];

0 commit comments

Comments
 (0)