From 84b5d56cb6f86a8a80be1ac365c3fc5247454dd6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 28 Mar 2023 16:26:33 -0500 Subject: [PATCH] filter: add a break statement --- scripts/filter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/filter.ts b/scripts/filter.ts index dc56ff6..86460a1 100644 --- a/scripts/filter.ts +++ b/scripts/filter.ts @@ -27,6 +27,7 @@ for await (const line of readLines(Deno.stdin)) { if (msg.action === 'accept') { console.log(JSON.stringify(event)); + break; } } }