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(positional): positional strings no longer drop decimals #1761

merged 4 commits into from
Sep 21, 2020


Copy link

@bcoe bcoe commented Sep 21, 2020

This moves the coercion of positional values to numbers to a post processing step, so that we can turn off this behavior during the first pass of parsing before we consume positionals.

Related work in yargs-parser: yargs/yargs-parser#321

Fixes #1758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Bug: trailing .0 is stripped from positional string argument
1 participant