Uh oh!
There was an error while loading. Please reload this page.
streams: fix fd is null when calling clearBuffer - #50994
Merged
Merged
Conversation
nodejs-github-bot
commented
Dec 1, 2023
Collaborator
Review requested:
|
kylo5aby
commented
Dec 3, 2023
ContributorAuthor
Resolved. PTAL |
rluvaton
reviewed
Dec 3, 2023
rluvaton
left a comment
Member
There was a problem hiding this comment.
Thank you for your contribution
Comment on lines
18
to
28
Member
There was a problem hiding this comment.
Suggested change
| fileWriteStream.on('finish',()=>{ | |
| constwrittenData=fs.readFileSync(filepath,'utf8'); | |
| assert.strictEqual(writtenData,data); | |
| }); | |
| fileWriteStream.on('finish',common.mustCall(()=>{ | |
| constwrittenData=fs.readFileSync(filepath,'utf8'); | |
| assert.strictEqual(writtenData,data); | |
| })); |
Uh oh!
There was an error while loading. Please reload this page.
ronag
reviewed
Dec 3, 2023
Comment on lines
736
to
737
Member
There was a problem hiding this comment.
Suggested change
| if((state[kState]&(kDestroyed|kBufferProcessing|kCorked|kBuffered))!==kBuffered|| | |
| (state[kState]&(kDestroyed|kBufferProcessing|kCorked|kConstructed))!==kConstructed){ | |
| if((state[kState]&(kDestroyed|kBufferProcessing|kCorked|kBuffered|kConstructed))!==(kBuffered|kConstructed)){ |
benjamingr
approved these changes
Dec 3, 2023
kylo5aby
commented
Dec 4, 2023
ContributorAuthor
Resolved |
nodejs-github-bot
commented
Dec 4, 2023
Collaborator
rluvaton
approved these changes
Dec 5, 2023
ronag
approved these changes
Dec 6, 2023
nodejs-github-bot
commented
Dec 6, 2023
Collaborator
nodejs-github-bot
commented
Dec 7, 2023
Collaborator
Landed in 639c366 |
Merged
SamTV12345
commented
Dec 23, 2023
@mcollina Is this already in the latest release? I am still getting the error. |
mcollina
commented
Dec 23, 2023
Member
this should be in v21.5.0. |
SamTV12345
commented
Dec 23, 2023
Thanks. 21 works. 20 doesn't but isn't a problem as I could simply update to 21. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #50979