We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c3d2fe commit f294fdcCopy full SHA for f294fdc
azdev/operations/tests/__init__.py
@@ -152,6 +152,8 @@ def _get_profile(profile):
152
fore_red = colorama.Fore.RED if not IS_WINDOWS else ''
153
fore_reset = colorama.Fore.RESET if not IS_WINDOWS else ''
154
original_profile = raw_cmd('az cloud show --query profile -otsv', show_stderr=False).result
155
+ if original_profile:
156
+ original_profile = original_profile.split('\r\n')[0]
157
if not profile or original_profile == profile:
158
profile = original_profile
159
display('The tests are set to run against current profile {}.'
0 commit comments