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 fs.mkdir regression #16497

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

fix fs.mkdir regression #16497

wants to merge 11 commits into from

Conversation

dylan-conway
Copy link
Member

What does this PR do?

Fixes recursive: true throwing when the directory already exists

closes #16474

How did you verify your code works?

Added a regression test

@robobun
Copy link

robobun commented Jan 18, 2025

Updated 10:28 PM PT - Jan 18th, 2025

@dylan-conway, your commit 793860f has 1 failures in #10098:


🧪   try this PR locally:

bunx bun-pr 16497

paperclover
paperclover previously approved these changes Jan 18, 2025
@paperclover paperclover enabled auto-merge January 18, 2025 07:46
@okineadev
Copy link

🧪   try this PR locally:

bunx bun-pr 16497

I tested this build, it fixed my issue which I wrote in #16474 (comment) 👍

@okineadev
Copy link

And another question, will you release a hotfix with this fix?

@RiskyMH RiskyMH disabled auto-merge January 18, 2025 15:29
@RiskyMH

This comment has been minimized.

@Jarred-Sumner
Copy link
Collaborator

This will be in Bun v1.1.46 which releases today (once the tests are fixed)

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.mkdirSync() throws when the path already exists with recursive:true
6 participants