Skip to content

Commit

Permalink
fixup! module: print location of unsettled top-level await in entry p…
Browse files Browse the repository at this point in the history
…oints
  • Loading branch information
joyeecheung committed Mar 7, 2024
1 parent 178a286 commit a3b96bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/module_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const {
ArrayPrototypePush,
ArrayPrototypeSome,
FunctionPrototype,
globalThis,
ObjectSetPrototypeOf,
PromiseResolve,
PromisePrototypeThen,
Expand All @@ -18,6 +17,7 @@ const {
StringPrototypeIncludes,
StringPrototypeSplit,
StringPrototypeStartsWith,
globalThis,
} = primordials;

const { ModuleWrap } = internalBinding('module_wrap');
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/modules/run_main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const {
globalThis,
StringPrototypeEndsWith,
globalThis,
} = primordials;

const { containsModuleSyntax } = internalBinding('contextify');
Expand Down

0 comments on commit a3b96bb

Please sign in to comment.