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 equality typo in TypeError message check #69

Merged
merged 1 commit into from
Jun 23, 2016

Conversation

timgthomas
Copy link
Contributor

My linter noticed the check for an error thrown by JSON.stringify() was using the assignment operator; seems like that should actually be an equality check, no?

I spent some time trying to put together a test for this, but it looks as if the only other error thrown by stringify() relates to the replacer parameter, which is explicitly set in the error handler.

@jherdman
Copy link
Owner

Oh, you are most certainly correct! Many thanks for the pull request.

@jherdman jherdman merged commit 926497f into jherdman:master Jun 23, 2016
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.

2 participants