fix(core): Corrected log formatting for commit information output in CodeFeed

This commit is contained in:
Philipp Kunz 2024-12-13 22:16:47 +01:00
parent 9b46b0d46e
commit daeb38c91c
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2024-12-13 - 1.4.1 - fix(core)
Corrected log formatting for commit information output in CodeFeed
- Fixed formatting issue in commit log output within the CodeFeed class to ensure proper display of timestamps.
## 2024-12-13 - 1.4.0 - feat(CodeFeed)
Enhance commit results with human-readable time

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@foss.global/codefeed',
version: '1.4.0',
version: '1.4.1',
description: 'a module for creating feeds for code development'
}

View File

@ -324,8 +324,7 @@ export class CodeFeed {
console.log(`Processed ${allCommits.length} commits in total.`);
for (const c of allCommits) {
console.log(`______________________________________________________
${c.prettyAgoTime}
${c.timestamp}
${c.prettyAgoTime} ago:
Commit ${c.hash} by ${c.org}/${c.repo} at ${c.timestamp}
${c.commitMessage}
Published on npm: ${c.publishedOnNpm}