Skip to content

Commit b18129a

Browse files
committed
Removed re2 from the v3 catalog
1 parent 0ebd79e commit b18129a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { logger, task } from "@trigger.dev/sdk/v3";
22
import { ExampleEmail } from "./emails/index.js";
33
import { render } from "@react-email/render";
4-
import EmailReplyParser from "email-reply-parser";
54

65
export const emailTask = task({
76
id: "email",
@@ -12,15 +11,3 @@ export const emailTask = task({
1211
};
1312
},
1413
});
15-
16-
export const parseEmailReplyTask = task({
17-
id: "parse-email-reply",
18-
run: async ({ email }: { email: string }) => {
19-
const parsed = new EmailReplyParser().read(email);
20-
21-
logger.log("Parsed email", {
22-
email,
23-
parsed,
24-
});
25-
},
26-
});

0 commit comments

Comments
 (0)