Skip to content

Commit 13ac680

Browse files
marsonyatargos
authored andcommitted
lib: fix typo in internal/modules/esm/module_job.js
PR-URL: #37773 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anto Aravinth <[email protected]> Reviewed-By: Pooja D P <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Zijian Liu <[email protected]>
1 parent a27534e commit 13ac680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/module_job.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class ModuleJob {
118118
const importStatement = splitStack[1];
119119
// TODO(@ctavan): The original error stack only provides the single
120120
// line which causes the error. For multi-line import statements we
121-
// cannot generate an equivalent object descructuring assignment by
121+
// cannot generate an equivalent object destructuring assignment by
122122
// just parsing the error stack.
123123
const oneLineNamedImports = StringPrototypeMatch(importStatement, /{.*}/);
124124
const destructuringAssignment = oneLineNamedImports &&

0 commit comments

Comments
 (0)