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

TypeError When Not Supplying Original Arguments #44

Closed
cantwellsean0127 opened this issue Aug 20, 2023 · 1 comment
Closed

TypeError When Not Supplying Original Arguments #44

cantwellsean0127 opened this issue Aug 20, 2023 · 1 comment

Comments

@cantwellsean0127
Copy link

Whenever var argv = require('minimist')(process.argv.slice(2)); is written as var argv = require('minimist')();, a TypeError is thrown.

@ljharb
Copy link
Member

ljharb commented Aug 20, 2023

That’s expected - undefined is not a valid type for that argument.

@ljharb ljharb mentioned this issue Aug 20, 2023
@cantwellsean0127 cantwellsean0127 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2023
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

No branches or pull requests

2 participants