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)
|
if (event.fightCard.length)
|
||||||
description = `${event.fightCard.join("\n")}\n`;
|
description = `${event.fightCard.join("\n")}\n`;
|
||||||
if (event.mainCard.length)
|
if (event.mainCard.length)
|
||||||
description +=
|
description += `Main Card\n--------------------\n${event.mainCard.join(
|
||||||
"Main Card\n--------------------\n" +
|
"\n"
|
||||||
event.mainCard.join("\n") +
|
)}\n`;
|
||||||
"\n";
|
|
||||||
if (event.prelims.length) {
|
if (event.prelims.length) {
|
||||||
description += "\nPrelims";
|
description += "\nPrelims";
|
||||||
if (event.prelimsTime) {
|
if (event.prelimsTime) {
|
||||||
|
|||||||
Reference in new issue
Block a user