Skip to content

Commit 2b6cb3f

Browse files
committed
fixup! module: clarify cjs global-like error on ModuleJobSync
1 parent 17f1e05 commit 2b6cb3f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/modules/esm/module_job.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ class ModuleJobSync extends ModuleJobBase {
392392
}
393393

394394
runSync() {
395-
// TODO(joyeecheung): add the error decoration logic from the async instantiate.
396395
this.module.async = this.module.instantiateSync();
397396
// If --experimental-print-required-tla is true, proceeds to evaluation even
398397
// if it's async because we want to search for the TLA and help users locate

0 commit comments

Comments
 (0)