From fb59cefaffdc7c636f19d84250ad682d22425883 Mon Sep 17 00:00:00 2001 From: mathe42 <2pi_r2@gmx.de> Date: Fri, 22 Apr 2022 15:56:35 +0200 Subject: [PATCH] fix require --unstable flag only when useing worker --- pool.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pool.ts b/pool.ts index d281167..e8abaa2 100644 --- a/pool.ts +++ b/pool.ts @@ -30,7 +30,8 @@ export class SMTPWorker { }, namespace: true, }, - }); + // This allowes the deno option so only for pool and worker we need --unstable + } as any); this.#w.addEventListener("message", (ev: MessageEvent) => { if (ev.data) {