diff --git a/scripts/utils/updateChangelog.ts b/scripts/utils/updateChangelog.ts index 2ac86df04..0a7ad5e4d 100755 --- a/scripts/utils/updateChangelog.ts +++ b/scripts/utils/updateChangelog.ts @@ -126,9 +126,11 @@ export const updateChangelog = async (args: Args = {}): Promise async function createContributorSection(commits: GitCommit[]): Promise { const contributors = await getContributors(commits) - if (!contributors.length) return '' + if (!contributors.length) { + return '' + } - let contributorsSection = `### Contributors\n\n` + let contributorsSection = `### 🤝 Contributors\n\n` for (const contributor of contributors) { contributorsSection += `- ${contributor.name} (@${contributor.username})\n`