Commit 84b05d48 authored by Johnny Ray Austin's avatar Johnny Ray Austin Committed by Rod Vagg
Browse files

doc: update writable streams default encoding

Setting the default encoding for a writable stream does
not return a boolean (true if successful or false if not)
as the docs indicate. Instead, if the operation is successful
nothing is returned and the method throws an error when
something goes wrong.

This stems from a contribution that was tweaked but the
docs were never updated accordingly.

PR-URL: https://github.com/iojs/io.js/pull/502


Reviewed-By: default avatarRod Vagg <rod@vagg.org>
parent 18552677
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment