-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs: fix missing 'error' event in ReadStream/WriteSteam destroy(err) #19735
Conversation
@@ -0,0 +1,41 @@ | |||
// Copyright Joyent, Inc. and other Node contributors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC all of this commented text shouldn't be added for new tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, new source files should never include the copyright boilerplate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the copyright boilerplate. thanks!
fs.ReadStream / fs.WriteStrem destroy([error]) function should emit 'error' event if [error] is set. Fixes: nodejs#19727
Landed in 6e2d5af 🎉 |
fs.ReadStream / fs.WriteStream destroy([error]) function should emit 'error' event if `error` is set. PR-URL: nodejs#19735 Fixes: nodejs#19727 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
@range3 congratulations on your first commit to Node.js and to officially becoming a contributor! |
fs.ReadStream / fs.WriteStream destroy([error]) function should emit 'error' event if `error` is set. PR-URL: #19735 Fixes: #19727 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
fs.ReadStream / fs.WriteStrem destroy([error]) function
should emit 'error' event if [error] is set.
Fixes: #19727
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes