-
Notifications
You must be signed in to change notification settings - Fork 61
fix(toolkit-lib): MFA token cannot be provided through IoHost #508
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(toolkit-lib): MFA token cannot be provided through IoHost #508
Conversation
5f6bc9f to
fd4d7ae
Compare
af6d4ac to
a33350f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #508 +/- ##
==========================================
+ Coverage 78.98% 79.59% +0.61%
==========================================
Files 46 46
Lines 6994 6998 +4
Branches 775 785 +10
==========================================
+ Hits 5524 5570 +46
+ Misses 1452 1407 -45
- Partials 18 21 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
57f92d8 to
0fec7f9
Compare
| const desc = responseDescription ?? prompt.default; | ||
| const answer = await promptly.prompt(`${chalk.cyan(msg.message)}${desc ? ` (${desc})` : ''}`, { | ||
| default: prompt.default, | ||
| trim: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot imagine a situation we don't want to trim input. At least none of the current prompts want untrimmed.
0fec7f9 to
312e23e
Compare
312e23e to
76c10d2
Compare
76c10d2 to
fd78fa2
Compare
Relates to #396
Considering this a bug fix, since it is currently not possible to integrate an IoHost with this. While this does affect the CLI, the DX is virtually unchanged. I run the auth test suite to ensure everything is still working as expected.
Before:
After:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license