Skip to content
Closed
Changes from all commits
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
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/streams/node/join/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function transform( chunk, encoding, clbk ) {
} else if ( this._init ) {
chunk = new Buffer( chunk, encoding );
len = this._sep.length + chunk.length;
chunk = Buffer.concat( [ this._sep, chunk ], len ); // TODO: replace with stdlib pkg
chunk = Buffer.concat( [ this._sep, chunk ], len ); // replace with stdlib pkg
chunk = chunk.toString( this._encoding );
} else {
this._init = true;
Expand All @@ -76,7 +76,7 @@ function transform( chunk, encoding, clbk ) {
*/
function flush( clbk ) {
debug( 'Flushing the stream...' );
clbk(); // TODO: consider supporting an option to append a final separator
clbk(); // consider supporting an option to append a final separator
}

/**
Expand Down
Loading