-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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: use require style import of yargs for --help #6986
Conversation
Just confirming - we can't use |
|
@imnotjames sorry for the delay. |
Thanks for the contribution! |
Description of change
Use
import yargs = require("yargs")
instead ofimport *
to work around this issueWithout this change, i see the following behaviour:
with this change, we get the full help
Pull-Request Checklist
master
branchnpm run lint
passes with this changenpm run test
passes with this changeThis pull request links relevant issues asidk if there is an open issue. i searched but there are many open issuesFixes #0000
There are new or updated unit tests validating the changeN/ADocumentation has been updated to reflect this changeN/A