| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4b6aa07 commit c21f1f0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -582,7 +582,7 @@ Writable.prototype.end = function(chunk, encoding, cb) { | |||
| 582 | 582 | if (err || state.finished) | |
| 583 | 583 | process.nextTick(cb, err); | |
| 584 | 584 | else | |
| 585 | - onFinished(this, state, cb); | ||
| 585 | + onFinished(this, cb); | ||
| 586 | 586 | } | |
| 587 | 587 | ||
| 588 | 588 | return this; | |
@@ -664,7 +664,7 @@ function finish(stream, state) { | |||
| 664 | 664 | } | |
| 665 | 665 | ||
| 666 | 666 | // TODO(ronag): Avoid using events to implement internal logic. | |
| 667 | - function onFinished(stream, state, cb) { | ||
| 667 | + function onFinished(stream, cb) { | ||
| 668 | 668 | function onerror(err) { | |
| 669 | 669 | stream.removeListener('finish', onfinish); | |
| 670 | 670 | stream.removeListener('error', onerror); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments