Skip to content

Commit

Permalink
fix: avoid trailing comma in await for marko@4
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Feb 29, 2024
1 parent 9567d57 commit f2a3e92
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/node_modules/@internal/stream-source-component/node.marko
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ $ const streamSource = getSource(input.name, out);
$ out.bf("@_", component, true);
<await(request()) client-reorder timeout=input.timeout>
<@then|{ body }|>
<await(
streamSource.run(input.parser(body[Symbol.asyncIterator]())),
) client-reorder>
$ const iter = input.parser(body[Symbol.asyncIterator]());
<await(streamSource.run(iter)) client-reorder>
<@catch|err|>
$ streamSource.close(err);
</@catch>
Expand Down

0 comments on commit f2a3e92

Please sign in to comment.