Skip to content

Commit

Permalink
Update tools/eslint-rules/documented-errors.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
RedYetiDev and aduh95 authored Oct 2, 2024
1 parent d3f0326 commit 2ac71fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/eslint-rules/documented-errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getErrorsInDoc() {

// If the code already exists in the Map, merge the new error data
errors.set(code, {
...(errors.get(code) || {}),
...errors.get(code),
...error,
});
}
Expand Down

0 comments on commit 2ac71fc

Please sign in to comment.