From 13ac680cdb30db83443fd6ca77cd2f5a29a03c52 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 549d43cc20e119..8eeecf1c369964 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -118,7 +118,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 &&