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

Preserve -- in process.argv #14003

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

Conversation

reillyjodonnell
Copy link

@reillyjodonnell reillyjodonnell commented Sep 18, 2024

What does this PR do?

Preserves -- as argument when passed.

  • Code changes

How did you verify your code works?

  • I included a test for the new code, or existing tests cover it
  • I ran my tests locally and they pass (bun-debug test test-file-name.test)

Fixes: #13984

Screenshot 2024-09-18 at 8 17 32 PM

@dylan-conway
Copy link
Member

Could you add a test for this? I think bun-run.test.ts would be a good place to put it

@reillyjodonnell
Copy link
Author

Could you add a test for this? I think bun-run.test.ts would be a good place to put it

Tests added & updated description

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.

Bun strips '--' from process.argv
3 participants