Skip to content

Commit

Permalink
squash: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LiviaMedeiros committed Jul 5, 2022
1 parent b8c1b0e commit c5ffb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/util/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit c5ffb07

Please sign in to comment.