Skip to content

Commit acd8f2c

Browse files
committed
Minor fix
1 parent 71f95ed commit acd8f2c

File tree

1 file changed

+0
-2
lines changed
  • src/azure-cli-core/azure/cli/core

1 file changed

+0
-2
lines changed

src/azure-cli-core/azure/cli/core/cloud.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,6 @@ def set_cloud_subscription(cli_ctx, cloud_name, subscription):
594594
config.remove_option(cloud_name, 'subscription')
595595
except configparser.NoSectionError:
596596
pass
597-
if not os.path.isdir(GLOBAL_CONFIG_DIR):
598-
os.makedirs(GLOBAL_CONFIG_DIR)
599597
with open(get_cloud_config_file(cli_ctx), 'w') as configfile:
600598
config.write(configfile)
601599

0 commit comments

Comments
 (0)