Commit f5cb330a authored by Alejandro Oviedo's avatar Alejandro Oviedo Committed by Julien Gilli
Browse files

docs: fix streams example for write() after end()



Currently there's an example using http.ServerResponse stream, which
has a known bug and will not throw an error while writing after end().
Changed to a writable stream from fs which behaves as expected.

fix #8814

Signed-off-by: default avatarJulien Gilli <julien.gilli@joyent.com>
parent 5e503f45
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