Skip to content

Commit adb972c

Browse files
authored
Remove unnecessary await in MODULARIZE=instance mode. NFC (#23219)
Since the init function is already marks as async it fine/better to simply return the promise here rather than awaiting on it.
1 parent 93d2f8d commit adb972c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2403,7 +2403,7 @@ def modularize():
24032403
24042404
%(generated_js)s
24052405
2406-
return await moduleRtn;
2406+
return moduleRtn;
24072407
}
24082408
''' % {
24092409
'generated_js': generated_js

0 commit comments

Comments
 (0)