fix(core): Refine logging format in CodeFeed class

This commit is contained in:
Philipp Kunz 2024-12-14 00:32:34 +01:00
parent 6ca6b37b1d
commit 166b289eb2
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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'
}

View File

@ -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}
`);