From 6e2b60931ce416e1939c40928bfc3bf1f2972986 Mon Sep 17 00:00:00 2001 From: marsonya Date: Tue, 16 Mar 2021 23:07:18 +0530 Subject: [PATCH] lib: fix typo in internal/modules/esm/module_job.js PR-URL: https://github.com/nodejs/node/pull/37773 Reviewed-By: Antoine du Hamel Reviewed-By: Colin Ihrig Reviewed-By: Anto Aravinth Reviewed-By: Pooja D P Reviewed-By: Richard Lau Reviewed-By: Zijian Liu --- lib/internal/modules/esm/module_job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/modules/esm/module_job.js b/lib/internal/modules/esm/module_job.js index 6cf968553bae6d..ebae1940502b4b 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -120,7 +120,7 @@ class ModuleJob { const importStatement = splitStack[1]; // TODO(@ctavan): The original error stack only provides the single // line which causes the error. For multi-line import statements we - // cannot generate an equivalent object descructuring assignment by + // cannot generate an equivalent object destructuring assignment by // just parsing the error stack. const oneLineNamedImports = StringPrototypeMatch(importStatement, /{.*}/); const destructuringAssignment = oneLineNamedImports &&