Skip to content

fix: invalid cwd when running bytecode #19148

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DonIsaac
Copy link
Contributor

What does this PR do?

Fixes a bug where dirname_fd was always invalid when running compiled bytecode.

How did you verify your code works?

There is already a test for this; it was never caught because the invalid fd assertion only ran in debug builds.

@robobun
Copy link

robobun commented Apr 20, 2025

Updated 5:14 PM PT - Apr 20th, 2025

@DonIsaac, your commit 82dfec9 has 1 failures in Build #15235:


🧪   try this PR locally:

bunx bun-pr 19148

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.

2 participants