From d88069b0cf4c2fd576d470c62c204229d978a9c1 Mon Sep 17 00:00:00 2001 From: Colby Williams Date: Fri, 28 Jan 2022 14:46:35 -0600 Subject: [PATCH] fix cli style +resetdemo --- client/tc/azext_tc/custom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/tc/azext_tc/custom.py b/client/tc/azext_tc/custom.py index 4bb7dede..6037179c 100644 --- a/client/tc/azext_tc/custom.py +++ b/client/tc/azext_tc/custom.py @@ -87,9 +87,8 @@ def teamcloud_deploy(cmd, name, client_id, location=None, resource_group_name='T if version: parameters.append(f'reactAppVersion={version}') - - if index_file: - parameters.append(f'reactAppVersion=local') + elif index_file: + parameters.append('reactAppVersion=local') if scope: parameters.append(f'reactAppMsalScope={scope}')