Skip to content

"version" is a reserved word yargs #105

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

Open
niquedegraaff opened this issue Feb 21, 2025 · 0 comments
Open

"version" is a reserved word yargs #105

niquedegraaff opened this issue Feb 21, 2025 · 0 comments

Comments

@niquedegraaff
Copy link

Similar to #6 , if a reserved word like version is used in WSDL, then error:

(node:20372) Warning: "version" is a reserved word.
Please do one of the following:
- Disable version with `yargs.version(false)` if using "version" as an option
- Use the built-in `yargs.version` method instead (if applicable)
- Use a different option key
https://yargs.js.org/docs/#api-reference-version
(Use `node --trace-warnings ...` to show where the warning was created)
1 Errors occured!
@niquedegraaff niquedegraaff changed the title "version" is a reserved word in javascript. "version" is a reserved word yargs Feb 21, 2025
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

No branches or pull requests

1 participant