Skip to content

Commit 85b74de

Browse files
fabiosantoscodebrendanashworth
authored andcommitted
stream: fix signature of _write() in a comment
This comment was a bit misleading, since it was missing the `encoding` argument. PR-URL: #3248 Reviewed-By: Brendan Ashworth <[email protected]>
1 parent 81503e5 commit 85b74de

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)