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

bootstrap: do not expand process.argv[1] for snapshot entry points #47466

Merged
merged 1 commit into from
Apr 10, 2023

Commits on Apr 7, 2023

  1. bootstrap: do not expand process.argv[1] for snapshot entry points

    In applications with entry points deserialized from snapshots,
    they don't need an additional CLI argument for the entry point script
    so process.argv[1] is going to be other user-defiend arguments.
    We could consider copying process.argv[0] as process.argv[1] like
    what we do for single executable applications, but for now just
    don't exapnd it so it's easier to backport to previous releases.
    joyeecheung committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    33d5125 View commit details
    Browse the repository at this point in the history