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
Global false does not work when also set the coerce
property in v17
#2162
Comments
17.4.0
coerce
property in v17
It's a problem with I tested your example locally with/without my fix, and it seems my fix solves the issue you're seeing |
@jly36963 Thank you. Do you mean it will be fixed in the next |
I believe so -- the changelog has it listed under 17.4.1 |
Closing as fixed by #2161. |
I am upgrading the
yargs
version from16.2.0
to17.4.0
in order to use the async builder feature, but after upgrading, our sub commands do not work well because theglobal
property seems being broken.I write a piece of code for testing the
global
property and the true reason may be thecoerce
property conflicts with theglobal
.The following is the result when run this code.
Is this a bug or there are some different usages about the global property?
Thanks.
The text was updated successfully, but these errors were encountered: