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(cli-repl): handle MONGOSH_RUN_NODE_SCRIPT for compiled binary properly #1094

Merged
merged 1 commit into from
Sep 9, 2021

Conversation

addaleax
Copy link
Contributor

@addaleax addaleax commented Sep 9, 2021

MONGOSH-981

In compiled mode, process.argv[0] and process.argv[1] are the same
(both point to the compiled binary), but that still means that
process.argv[1] should be removed in order to run the entry point
normally.

…perly MONGOSH-981

In compiled mode, `process.argv[0]` and `process.argv[1]` are the same
(both point to the compiled binary), but that still means that
`process.argv[1]` should be removed in order to run the entry point
normally.
@addaleax addaleax merged commit 94fbb05 into main Sep 9, 2021
@addaleax addaleax deleted the 981-dev branch September 9, 2021 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants