Skip to content

Commit

Permalink
Update lib/internal/modules/esm/loader.js
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
  • Loading branch information
dygabo and GeoffreyBooth committed Apr 27, 2024
1 parent 184251d commit 2fdf7b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ class CustomizedModuleLoader {
register(originalSpecifier, parentURL, data, transferList) {
if (isMainThread) {
// Only the main thread has a Hooks instance with worker thread. All other Worker threads
// delegate thier hooks to the HooksThread of the main thread.
// delegate their hooks to the HooksThread of the main thread.
return hooksProxy.makeSyncRequest('register', transferList, originalSpecifier, parentURL, data);
}
}
Expand Down

0 comments on commit 2fdf7b3

Please sign in to comment.