Skip to content

Commit

Permalink
Fix error in test for syncing vscode extensions
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <[email protected]>
  • Loading branch information
lebrice committed Apr 16, 2024
1 parent 124ff48 commit 384ca98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milatools/utils/vscode_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def find_code_server_executable(
def parse_vscode_extensions_versions(
list_extensions_output_lines: list[str],
) -> dict[str, str]:
extensions = list_extensions_output_lines
extensions = [line for line in list_extensions_output_lines if "@" in line]

def _extension_name_and_version(extension: str) -> tuple[str, str]:
# extensions should include name@version since we use --show-versions.
Expand Down

0 comments on commit 384ca98

Please sign in to comment.