Skip to content

Commit 2620467

Browse files
committed
Add missing async.
1 parent 0847c3f commit 2620467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsifier.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ return ${makeReturn64(await_ + body)};
338338
return `\
339339
${async_}function(${args}) {
340340
${argConversions}
341-
var ret = (() => { ${body} })();
341+
var ret = (${async_}() => { ${body} })();
342342
return ${makeReturn64(await_ + 'ret')};
343343
}`;
344344
}

0 commit comments

Comments
 (0)