Skip to content
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

Fix the parameters of WriteStream constructor. #3402

Merged
merged 4 commits into from Jun 25, 2023

Conversation

Hanaasagi
Copy link
Collaborator

Close: #3395

@Hanaasagi Hanaasagi changed the title Fix the parameters of the WriteStream constructor. Fix the parameters of WriteStream constructor. Jun 25, 2023
Copy link
Collaborator

@Jarred-Sumner Jarred-Sumner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thank you

@@ -1078,6 +1078,16 @@ describe("createWriteStream", () => {
stream.write("first line\n");
stream.end();

await new Promise((resolve, reject) => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test might still fail because we commit the generated ESM modules since the CI doesn't depend on bun to run

@Jarred-Sumner
Copy link
Collaborator

this looks right i'm going to just merge it

@Jarred-Sumner Jarred-Sumner merged commit fcf9f0a into oven-sh:main Jun 25, 2023
13 checks passed
@Hanaasagi Hanaasagi deleted the fix branch June 26, 2023 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fs.createWriteStream truncating files
2 participants