From c5ffb075a2f89457a568a0fa8c12440f6ccfe18e Mon Sep 17 00:00:00 2001 From: LiviaMedeiros Date: Tue, 5 Jul 2022 19:38:37 +0800 Subject: [PATCH] squash: fix typo --- lib/internal/util/inspect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 29a16728052ed39..e0a6d7591019877 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1294,7 +1294,7 @@ function formatError(err, constructor, tag, ctx, keys) { keys.push('cause'); } - // Print errors aggregated into AggregateErrors + // Print errors aggregated into AggregateError if (err.errors && (keys.length === 0 || !keys.includes('errors'))) { keys.push('errors'); }