From 38322fbb9464283179ea7ba5813c654927be34d0 Mon Sep 17 00:00:00 2001 From: Cameron Stirrup <43656137+MrRibcage@users.noreply.github.com> Date: Thu, 27 Jun 2024 01:52:54 +0000 Subject: [PATCH] Fixed format --- src/discord/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}`;