diff options
author | Aleh Zasypkin <aleh.zasypkin@gmail.com> | 2017-08-16 19:32:54 +0200 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-08-20 18:03:51 -0400 |
commit | e96c11c384dce60de44f71bb88c102dfdb2de3c1 (patch) | |
tree | 3bfff7db7f43df5d279025134d59c6b1c84b037b /test/sequential/test-timers-blocking-callback.js | |
parent | b9d63ab1b7b82fe959c616ee16a8c6497c824114 (diff) | |
download | android-node-v8-e96c11c384dce60de44f71bb88c102dfdb2de3c1.tar.gz android-node-v8-e96c11c384dce60de44f71bb88c102dfdb2de3c1.tar.bz2 android-node-v8-e96c11c384dce60de44f71bb88c102dfdb2de3c1.zip |
doc,fs: rename defaultEncoding option to encoding
The documentation for `fs.createWriteStream()` references a
`defaultEncoding` as possible options property, but in reality
`encoding` property is expected and properly handled. This fix updates
the documentation to rename the `defaultEncoding` property to
`encoding`.
PR-URL: https://github.com/nodejs/node/pull/14867
Fixes: https://github.com/nodejs/node/issues/14611
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/sequential/test-timers-blocking-callback.js')
0 files changed, 0 insertions, 0 deletions