Skip to content

Commit

Permalink
Fix immature end of stream
Browse files Browse the repository at this point in the history
  • Loading branch information
lxsmnsyc committed May 16, 2024
1 parent 06f7397 commit 628695a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/seroval/src/core/context/serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ export default abstract class BaseSerializerContext
['i', 't', 'v'],
'if(d===-1){return((i=c++)>=b.length)?(p.push(t=' +
this.getRefParam(promise.i) +
'()),t):{done:!0,value:b[i]}}if(c>d)return{done:!0,value:void 0};if(v=b[i=c++],i!==d)return{done:!1,value:v};if(e)throw v;return{done:!0,value:v}',
'()),t):{done:!1,value:b[i]}}if(c>d)return{done:!0,value:void 0};if(v=b[i=c++],i!==d)return{done:!1,value:v};if(e)throw v;return{done:!0,value:v}',
) +
'})',
),
Expand Down

0 comments on commit 628695a

Please sign in to comment.