Skip to content

Fix: "TypeError: next.match is not a function" with "number" values#167

Merged
bcoe merged 1 commit into
yargs:masterfrom
juergba:issue/166
Jun 7, 2019
Merged

Fix: "TypeError: next.match is not a function" with "number" values#167
bcoe merged 1 commit into
yargs:masterfrom
juergba:issue/166

Conversation

@juergba

@juergba juergba commented Mar 26, 2019

Copy link
Copy Markdown
Contributor

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