fix(core): Fix sorting order of tagged commits by timestamp

This commit is contained in:
2024-12-14 02:04:10 +01:00
parent 1df8064247
commit f511ab7a63
3 changed files with 7 additions and 2 deletions

View File

@@ -326,7 +326,7 @@ export class CodeFeed {
console.log(`Processed ${allCommits.length} commits in total.`);
allCommits = allCommits.filter(commitArg => commitArg.tagged);
allCommits = allCommits.filter(commitArg => commitArg.tagged).sort((a, b) => b.timestamp.localeCompare(a.timestamp));
console.log(`Filtered to ${allCommits.length} commits with tagged statuses.`);