Skip to content

Commit

Permalink
fix(lint): we should have a github workflow that tells you if you're …
Browse files Browse the repository at this point in the history
…failing a lint check to prevent this from happening
  • Loading branch information
mdial89f committed Apr 11, 2024
1 parent aebc84e commit b1f79f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/services/email/libs/data-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ export const buildEmailData = async (bundle, data) => {
case "submitter":
returnObject["submitter"] =
data.submitterEmail === "[email protected]"
? '"George\'s Substitute" <[email protected]>'
? // eslint-disable-next-line quotes
'"George\'s Substitute" <[email protected]>'
: `"${data.submitterName}" <${data.submitterEmail}>`;
break;
case "actionType":
Expand Down
10 changes: 5 additions & 5 deletions src/services/email/ses-email-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ extension requests on Waivers only. Any other correspondence will be disregarde
<p>If you have questions, please contact
<a href='mailto:[email protected]'>[email protected]</a> or your state lead.</p>
<p>Thank you!</p>`,
text: ``,
text: "",
},
{
name: "new-submission-1915c-cms",
Expand Down Expand Up @@ -1085,7 +1085,7 @@ Summary:
<p>If the contents of this email seem suspicious, do not open them, and instead
forward this email to <a href='mailto:[email protected]'>[email protected]</a>.</p>
<p>Thank you!</p>`,
text: ``,
text: "",
},
{
name: "withdraw-rai-1915c-cms",
Expand All @@ -1108,7 +1108,7 @@ Summary:
<p>If the contents of this email seem suspicious, do not open them, and instead
forward this email to <a href='mailto:[email protected]'>[email protected]</a>.</p>
<p>Thank you!</p>`,
text: ``,
text: "",
},
{
name: "temporary-extension-cms",
Expand Down Expand Up @@ -1140,7 +1140,7 @@ Summary:
<p>If the contents of this email seem suspicious, do not open them, and instead
forward this email to <a href='mailto:[email protected]'>[email protected]</a>.</p>
<p>Thank you!</p>`,
text: ``,
text: "",
},
{
name: "temporary-extension-state",
Expand All @@ -1166,6 +1166,6 @@ and extension requests on Waivers only. Any other correspondence will be disrega
<p>If you have questions or did not expect this email, please contact
<a href='mailto:[email protected]'>[email protected]</a> or your state lead.</p>
<p>Thank you!</p>`,
text: ``,
text: "",
},
];

0 comments on commit b1f79f8

Please sign in to comment.