diff --git a/changelog.md b/changelog.md index e12c8f0..ee37dc6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-12-14 - 1.5.1 - fix(core) +Refine logging format in CodeFeed class + +- Modified console log format in fetchAllCommitsFromInstance method for better readability. + ## 2024-12-14 - 1.5.0 - feat(core) Refactor TypeScript interfaces and improve module exports diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 3ac2fdb..fd47fb6 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.5.0', + version: '1.5.1', description: 'a module for creating feeds for code development' } diff --git a/ts/index.ts b/ts/index.ts index 13080c8..43d533a 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -279,9 +279,9 @@ export class CodeFeed { console.log(`Processed ${allCommits.length} commits in total.`); for (const c of allCommits) { - console.log(`______________________________________________________ + console.log(` ========================================================================== ${c.prettyAgoTime} ago: - Commit ${c.hash} by ${c.org}/${c.repo} at ${c.timestamp} + ${c.org}/${c.repo} ${c.commitMessage} Published on npm: ${c.publishedOnNpm} `);