Skip to content

Conversation

@fengzhou-msft
Copy link
Member

Description

In the case of running az --debug a, the command_str got with command_str = roughly_parse_command(args[1:]) is empty so the _search_in_extension_commands function will return all extensions with a prefix match. Users are then prompted to choose an extension to install from all extensions.

To fix the issue, this PR adds empty check for command_str to return None for empty value.

Testing Guide

Run az --debug a.

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@fengzhou-msft fengzhou-msft merged commit c8f6772 into Azure:dev Feb 23, 2021
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

Successfully merging this pull request may close these issues.

2 participants