From 58a8ce05549d96358e4ad5e045ea07a0dfd9efbf Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 18 Dec 2024 13:44:22 -0800 Subject: [PATCH] Remove unnecessary `await` in MODULARIZE=instance mode. NFC Since the init function is already marks as async it fine/better to simply return the promise here rather than awaiting on it. --- tools/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/link.py b/tools/link.py index 88ef0822e8a23..3d007a92bff26 100644 --- a/tools/link.py +++ b/tools/link.py @@ -2392,7 +2392,7 @@ def modularize(): %(generated_js)s - return await moduleRtn; + return moduleRtn; } ''' % { 'generated_js': generated_js