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 <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Pooja D P <Pooja.D.P@ibm.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
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)