From 39cd8283c8e9bae26b3fd8559b82d8f3eed986b1 Mon Sep 17 00:00:00 2001 From: Elliot DeNolf Date: Sun, 1 Sep 2024 19:39:52 -0400 Subject: [PATCH] chore(scripts): release notes emoji --- scripts/utils/updateChangelog.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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`