Skip to content

Conversation

bim-msft
Copy link

Fix #134

@@ -152,6 +152,8 @@ def _get_profile(profile):
fore_red = colorama.Fore.RED if not IS_WINDOWS else ''
fore_reset = colorama.Fore.RESET if not IS_WINDOWS else ''
original_profile = raw_cmd('az cloud show --query profile -otsv', show_stderr=False).result
if original_profile:
original_profile = original_profile.split('\r\n')[0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some more tests on different platforms, like Darwin and Linux, etc as talked offline.

RenSilvaAU pushed a commit to RenSilvaAU/azure-cli-dev-tools that referenced this pull request Aug 7, 2025
Fix reload swagger error if no arg change previously
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.

azdev test fails in pycharm due to a wrong profile
2 participants