Skip to content

Commit 77441a6

Browse files
refactor: remove blank lines
1 parent 5037d7f commit 77441a6

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"cwd": "${workspaceFolder}",
5050
"env": {
5151
"_ARGCOMPLETE": "1",
52-
"COMP_LINE": "az ",
53-
"COMP_POINT": "3",
52+
"COMP_LINE": "az vm create --",
53+
"COMP_POINT": "18",
5454
"_ARGCOMPLETE_SUPPRESS_SPACE": "0",
5555
"_ARGCOMPLETE_IFS": "\n",
5656
"_ARGCOMPLETE_SHELL": "powershell",

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@ def _get_extension_suppressions(mod_loaders):
434434
index_result = command_index.get(args)
435435
if index_result:
436436
index_modules, index_extensions = index_result
437-
438437
# Special case for top-level completion - create minimal command groups
439438
if index_modules == '__top_level_completion__':
440439
from azure.cli.core.commands import AzCliCommand
@@ -447,11 +446,11 @@ def _get_extension_suppressions(mod_loaders):
447446
self, cmd_name, lambda: None
448447
)
449448
return self.command_table
450-
449+
451450
# Always load modules and extensions, because some of them (like those in
452451
# ALWAYS_LOADED_EXTENSIONS) don't expose a command, but hooks into handlers in CLI core
453452
_update_command_table_from_modules(args, index_modules)
454-
453+
455454
# The index won't contain suppressed extensions
456455
_update_command_table_from_extensions([], index_extensions)
457456

0 commit comments

Comments
 (0)