Skip to content

Commit 324c8b5

Browse files
madhavgharmalkarFishrock123
authored andcommitted
src: fixes misplaced comment
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>
1 parent 86b9db6 commit 324c8b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_stream_transform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ function Transform(options) {
9494

9595
this._transformState = new TransformState(this);
9696

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

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

115+
// When the writable side finishes, then flush out anything remaining.
116116
this.once('prefinish', function() {
117117
if (typeof this._flush === 'function')
118118
this._flush(function(er) {

0 commit comments

Comments
 (0)