mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 00:38:30 -07:00
Change string to template literal (previously missed)
This commit is contained in:
1 parent
bd0e29b4e4
commit
db66377dde
1 file changed
+3
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user