Skip to content

Commit

Permalink
src: fixes misplaced comment
Browse files Browse the repository at this point in the history
In e26622b, a comment was incorrectly moved from the code
it was describing.

Fixes: #8856
PR-URL: #8860
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
madhavgharmalkar authored and Fishrock123 committed Oct 11, 2016
1 parent 86b9db6 commit 324c8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_stream_transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ function Transform(options) {

this._transformState = new TransformState(this);

// when the writable side finishes, then flush out anything remaining.
var stream = this;

// start out asking for a readable event once data is transformed.
Expand All @@ -113,6 +112,7 @@ function Transform(options) {
this._flush = options.flush;
}

// When the writable side finishes, then flush out anything remaining.
this.once('prefinish', function() {
if (typeof this._flush === 'function')
this._flush(function(er) {
Expand Down

0 comments on commit 324c8b5

Please sign in to comment.