diff --git a/src/discord/index.ts b/src/discord/index.ts index c137c6f..65853d2 100644 --- a/src/discord/index.ts +++ b/src/discord/index.ts @@ -26,9 +26,7 @@ export const sendDiscordItemMessage = async ( const sectionHeader = formatMessageSectionTitle(section.title); const sectionItems = section.items .map((item) => - section.includeLinks - ? formatItemWithLink(item) - : formatItem(item), + section.includeLinks ? formatItemWithLink(item) : formatItem(item), ) .join("\n"); return `${sectionHeader} ${sectionItems}`;