Change string to template literal (previously missed)

This commit is contained in:
Clarence Chan committed 2024-05-28 13:11:43 -04:00
1 parent bd0e29b4e4
commit db66377dde
1 file changed
+3 -4
+3 -4
View File
@@ -44,10 +44,9 @@ async function createICS() {
if (event.fightCard.length)
description = `${event.fightCard.join("\n")}\n`;
if (event.mainCard.length)
description +=
"Main Card\n--------------------\n" +
event.mainCard.join("\n") +
"\n";
description += `Main Card\n--------------------\n${event.mainCard.join(
"\n"
)}\n`;
if (event.prelims.length) {
description += "\nPrelims";
if (event.prelimsTime) {