From 384ca98ceda6505fc60d809f2ecc5f8e505c4803 Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Tue, 16 Apr 2024 16:23:39 -0400 Subject: [PATCH] Fix error in test for syncing vscode extensions Signed-off-by: Fabrice Normandin --- milatools/utils/vscode_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milatools/utils/vscode_utils.py b/milatools/utils/vscode_utils.py index 95479d39..d99816e5 100644 --- a/milatools/utils/vscode_utils.py +++ b/milatools/utils/vscode_utils.py @@ -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.