-
Notifications
You must be signed in to change notification settings - Fork 86
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 yargs parsing string arguments as numbers #1881
Comments
This issue can happen with the
https://openmainframeproject.slack.com/archives/CC8AALGN6/p1722846168243069 |
Tried setting the yargs parser configuration in yargs.parserConfiguration({
"parse-numbers": false,
"parse-positional-numbers": false
}) This prevents numbers from being parsed at all, even for args of type |
|
I like the idea of the yargs |
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
TL;DR Yargs parses string arguments as numbers if they look like numbers, which may be unexpected behavior for methods that expect string values.
Originally posted by @t1m0thyj in zowe/imperative#857 (review)
The text was updated successfully, but these errors were encountered: