From 5345ae47610a95a90fa6251656ab5ac1eb859f7b Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 11 Jan 2025 01:30:28 -0500 Subject: [PATCH] Fix Date Buggg --- commands/commit-count.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/commit-count.js b/commands/commit-count.js index 25587ba..f2cd7d8 100644 --- a/commands/commit-count.js +++ b/commands/commit-count.js @@ -112,7 +112,7 @@ module.exports = { } } - messageMap = new Map([...messageMap.entries()].sort()); + messageMap = new Map([...messageMap.entries()].sort((a, b) => a - b)); // Start Commit Checking let validString = '';