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: "TypeError: next.match is not a function" with "number" values #167

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

juergba
Copy link
Contributor

@juergba juergba commented Mar 26, 2019

Description

closes #166

args = parse( ['--p', 2] ); throws a TypeError

Description of change

  • extend "lib/tokenize-arg-string.js": convert all values to string's
  • add one test

@bcoe bcoe merged commit 57b7883 into yargs:master Jun 7, 2019
@juergba juergba deleted the issue/166 branch June 8, 2019 06:52
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.

"TypeError: next.match is not a function" with "number" values
2 participants