-
Notifications
You must be signed in to change notification settings - Fork 275
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 missing tokenCodeFn #181
Conversation
9d4d5a9
to
428f156
Compare
Hi, instead of readline, let's make this another command line argument? |
What about I update to have both, so that it ll fallback to readline if not present in arguments? |
that sounds ok to me. |
addressed your suggestion @gojko ! Let me know if you need anything else. |
hi - thanks for this, looks good. I will test and merge over the weekend. |
Hi - I merged your code and tried to add some specs around it so we can maintain it easier. can you please try if this branch still works for you: https://github.com/claudiajs/claudia/tree/gregory-fix_bug_with_mfa if it does what you need, we can merge everything into master |
sorry for the delay @gojko - that was a good idea. |
@gregory thanks, will release this later today then |
I can't publish this yet because the current aws-sdk release breaks claudia, I've reported a bug there and waiting on them to release it. as soon as that's done, I'll re-run the tests again and push a new release out |
wow - crazy - can you link the bug you reported so that we can track status here? |
@gregory the bug was aws/aws-sdk-js#2588. I released claudia 5.4.2 just now, with your patch, so upgrading to the latest version should have this PR merged in |
I was missing the tokenCodeFn and allow to pass mfa serial through environment variable.