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

readFile: Passing in null options with a callback throws an error #24

Closed
AndrewDicks opened this issue Jun 19, 2015 · 3 comments
Closed

Comments

@AndrewDicks
Copy link

When invoking readFile, if you pass in null for the options object, and also pass in a callback, line 14 in index.js throws a "cannot read property reviver of null" exception. This is a new bug since the recent addition of the "reviver" parameter.

@jprichardson
Copy link
Owner

Oops! I'm on it. Thanks for reporting.

@jprichardson
Copy link
Owner

Published 2.1.1. Thanks again!

@AndrewDicks
Copy link
Author

No worries - thanks for the super-prompt response!

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

No branches or pull requests

2 participants