-
Notifications
You must be signed in to change notification settings - Fork 328
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
Extends 'teams user app remove' command with support for name option. Closes #5447 #5460
Conversation
Thanks for your effort @nanddeepn. We'll review it shortly |
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.
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.
Hey @nanddeepn, it seems that you and Reshmee have both submitted a PR to the same file. We're about to merge her PR. Would you be willing to resolve conflicts on yours so that we can pull it in too? I appreciate your help 😊
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.
Hey @nanddeepn, I'm still getting conflicts when trying to rebase it onto latest main. Could you please rebase with the last main and squash your old commits so that we can clearly merge it without losing any functionality? Thank you!
} | ||
|
||
if (response.value.length > 1) { | ||
throw `Multiple Teams apps with name ${args.options.name} found. Please choose one of these ids: ${response.value.map(x => x.id).join(', ')}`; |
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.
Rather than throwing an error here, we should use Cli.handleMultipleResultsFound()
which shows a disambiguation prompt or throws error depending on a user's settings. Sorry I missed it earlier.
Hi @waldekmastykarz |
Extends 'teams user app remove' command with support for specifying the
name
option. Closes #5447