Skip to content

Commit d7c6edb

Browse files
stream: Fix signature of _write() in a comment
This comment was a bit misleading, since it was missing the `encoding` argument.
1 parent aeee956 commit d7c6edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_stream_writable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// A bit simpler than readable streams.
2-
// Implement an async ._write(chunk, cb), and it'll handle all
2+
// Implement an async ._write(chunk, encoding, cb), and it'll handle all
33
// the drain event emission and buffering.
44

55
'use strict';

0 commit comments

Comments
 (0)