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: avoid instanceof Object check in isErrorLike #8527

Merged
merged 1 commit into from Jun 17, 2022

Conversation

jimmydief
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix.

Did you add tests for your changes?

Did not.

If relevant, did you update the documentation?

N/A

Summary

#8497 does not seem to have been fully resolved for me with 14.4.0 (#8504), likely because the instanceof check being changed in this PR also causes issues in Jest due to jestjs/jest#2549. I was able to confirm that this change avoids the error I've been seeing in CI by testing this change via patch-package.

Does this PR introduce a breaking change?

No

Other information

None

@jrandolf jrandolf merged commit 6cd5cd0 into puppeteer:main Jun 17, 2022
@jimmydief jimmydief deleted the patch-1 branch June 17, 2022 19:51
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