From a0f6fa91d753c6b8e882c28f1beddfa673e85b7a Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 11 Oct 2020 13:16:00 -0400 Subject: [PATCH] formatting fix --- src/commands/score.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/score.ts b/src/commands/score.ts index 7cd90aa..df5afa6 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -160,7 +160,8 @@ export default class Score extends Command { let desc = '__**Hard Inquiries**__\n*These inquiries will fall off your report within 3 months, try to keep your hard inquiries to a minimum. If you want to file a dispute, please DM Ramirez.*\n\n'; score.inquiries.forEach((inq) => { const testDate = (new Date(new Date(inq.date).setHours(2190))); - if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`; + // eslint-disable-next-line no-useless-escape + if (testDate > new Date()) desc += `**Department/Service:** ${inq.name}\n**Reason:** ${inq.reason}\n**Date:** ${inq.date.toLocaleString('en-us')} ET\n\n`.replace('*', '\*'); }); embed.setDescription(desc); }