Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
despadam committed Sep 9, 2024
1 parent 3a75dde commit fb07dea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jobs/actions/emailaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ export class EmailJobAction<T> implements JobAction<T> {
this.toTemplate = compile(data["to"]);
this.subjectTemplate = compile(data["subject"]);

const templateFile = readFileSync(data["bodyTemplateFile"] as string, "utf8");
const templateFile = readFileSync(
data["bodyTemplateFile"] as string,
"utf8",
);
this.bodyTemplate = compile(templateFile);
}

Expand Down

0 comments on commit fb07dea

Please sign in to comment.