| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -347,7 +347,7 @@ function WritableState(options, stream, isDuplex) { | |||
| 347 | 347 | this.corked = 0; | |
| 348 | 348 | ||
| 349 | 349 | // The callback that's passed to _write(chunk, cb). | |
| 350 | - this.onwrite = onwrite.bind(undefined, stream); | ||
| 350 | + this.onwrite = (er) => onwrite(stream, er); | ||
| 351 | 351 | ||
| 352 | 352 | // The amount that is being written when _write is called. | |
| 353 | 353 | this.writelen = 0; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments