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

Export doesn't work if password is fully numeric #1

Open
Hiller opened this issue May 19, 2019 · 2 comments
Open

Export doesn't work if password is fully numeric #1

Hiller opened this issue May 19, 2019 · 2 comments

Comments

@Hiller
Copy link

Hiller commented May 19, 2019

That's easy. Create a container with a numeric password like 123456. Export won't work as password will be converted to int.
Need to do smth like this

this.parsedOptions.password.toString()
@garex
Copy link
Owner

garex commented May 20, 2019

Because of node-js-libs/cli#55

@garex
Copy link
Owner

garex commented May 20, 2019

toString() will not help when value will be "007" for example as parseInt('007', 10).toString() === '7'.

So Bond, James Bond will not be happy.

Can you suggest some fresh mature cli pkg, that could replace https://github.com/node-js-libs/cli ?

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

2 participants