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: Remove limitation of 100 arguments #346

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

Conversation

Dunky13
Copy link

@Dunky13 Dunky13 commented May 8, 2024

Problem
I was using ts-node-dev to run some scripts with more than 100 arguments in process.argv. This limitation is not documented anywhere and it was hard to pinpoint why I wasn't getting all the arguments I supplied. After some debugging I boiled it down to this script.

Solution
Remove the artificatial limit of 100 arguments

When having a script with more than 100 arguments, it gets truncated. This commit removes this limitation; as I couldn't find a reason why it should be kept, and makes it hard to debug when using this together with a lot of arguments
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.

None yet

1 participant