Skip to content

Commit 6e2b609

Browse files
marsonyaruyadorno
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 3a440ec commit 6e2b609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/module_job.js

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

0 commit comments

Comments
 (0)