Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
stream: removing extra word in err msg when Transform._transform() wh…
…en not implemented
  • Loading branch information
Italo A. Casas committed Sep 27, 2016
commit e6c77b263bf85bc07f62bdd711e0fdc640c6eee1
2 changes: 1 addition & 1 deletion lib/_stream_transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Transform.prototype.push = function(chunk, encoding) {
// an error, then that'll put the hurt on the whole operation. If you
// never call cb(), then you'll never get another chunk.
Transform.prototype._transform = function(chunk, encoding, cb) {
throw new Error('_transform() method is not implemented');
throw new Error('_transform() is not implemented');
};

Transform.prototype._write = function(chunk, encoding, cb) {
Expand Down