From 2cb1408ce3138589aad07775467201511f5b08e0 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Fri, 10 Jun 2022 12:06:36 +0800 Subject: [PATCH] support build command tree for codegen v2 (#4968) --- scripts/ci/update_ext_cmd_tree.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ci/update_ext_cmd_tree.py b/scripts/ci/update_ext_cmd_tree.py index e03b910b442..ab746a53606 100644 --- a/scripts/ci/update_ext_cmd_tree.py +++ b/scripts/ci/update_ext_cmd_tree.py @@ -44,8 +44,7 @@ def update_cmd_tree(ext_name): az_cli.invocation = invoker sys.path.append(ext_dir) - extension_command_table, _ = _load_extension_command_loader(invoker.commands_loader, - "", ext_mod) + extension_command_table, _ = _load_extension_command_loader(invoker.commands_loader, None, ext_mod) EXT_CMD_TREE_TO_UPLOAD = Session() EXT_CMD_TREE_TO_UPLOAD.load(os.path.expanduser(os.path.join('~', '.azure', file_name)))