From 091fd5a1436f0e7263a67e14beffd0a6ed092682 Mon Sep 17 00:00:00 2001 From: dpiercey Date: Thu, 29 Feb 2024 15:39:49 -0700 Subject: [PATCH] fix: avoid trailing comma in await for marko@4 --- .../@internal/stream-source-component/node.marko | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/node_modules/@internal/stream-source-component/node.marko b/src/node_modules/@internal/stream-source-component/node.marko index b4df122..0bc8fe2 100644 --- a/src/node_modules/@internal/stream-source-component/node.marko +++ b/src/node_modules/@internal/stream-source-component/node.marko @@ -86,9 +86,8 @@ $ const streamSource = getSource(input.name, out); $ out.bf("@_", component, true); <@then|{ body }|> - + $ const iter = input.parser(body[Symbol.asyncIterator]()); + <@catch|err|> $ streamSource.close(err);