From daeb38c91c63dd312de6875ab529bc15e02bcb00 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 13 Dec 2024 22:16:47 +0100 Subject: [PATCH] fix(core): Corrected log formatting for commit information output in CodeFeed --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/index.ts | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index cda82b9..5fe2943 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 4243bd5..fda5cea 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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' } diff --git a/ts/index.ts b/ts/index.ts index 4612c42..61c3e13 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -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}