Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error.originalMessage #991

Merged
merged 1 commit into from Apr 28, 2024
Merged

Fix error.originalMessage #991

merged 1 commit into from Apr 28, 2024

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Apr 28, 2024

When error.originalMessage is empty, it should be undefined, not an empty string.

@sindresorhus sindresorhus merged commit c78ae5c into main Apr 28, 2024
12 checks passed
@sindresorhus sindresorhus deleted the original-message-undefined branch April 28, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants