We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The docs are wrong:
https://github.com/jprichardson/node-jsonfile#writefilefilename-options-callback
they don't describe the data argument, I assume it should be writeFile(filename, obj, [options], callback)
writeFile(filename, obj, [options], callback)
Also, documented behaviour is
Pass in any fs.writeFile options
That includes the string, 'utf-8', but passing in a string was broken by:
e4d8e67
The text was updated successfully, but these errors were encountered:
build-tasks: fix options to writeJsonFile
8bd63c2
Work around jprichardson/node-jsonfile#28
Fixed in 44cf562 with more tests. Published in 2.2.1. Sorry about the trouble.
2.2.1
Sorry, something went wrong.
Thanks for fixing.
No branches or pull requests
The docs are wrong:
https://github.com/jprichardson/node-jsonfile#writefilefilename-options-callback
they don't describe the data argument, I assume it should be
writeFile(filename, obj, [options], callback)
Also, documented behaviour is
That includes the string, 'utf-8', but passing in a string was broken by:
e4d8e67
The text was updated successfully, but these errors were encountered: