From 6adc6fca8a2d6ff12229a954f1e2c5ac7f62f371 Mon Sep 17 00:00:00 2001 From: Altynbek Orumbayev Date: Thu, 28 Nov 2024 11:05:22 +0100 Subject: [PATCH] chore: windows edge cases --- src/algokit/core/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algokit/core/init.py b/src/algokit/core/init.py index b8d0a6c6..2b3c9a8f 100644 --- a/src/algokit/core/init.py +++ b/src/algokit/core/init.py @@ -103,7 +103,7 @@ def append_project_to_vscode_workspace(project_path: Path, workspace_path: Path) # Check if the project path is already in the workspace if project_abs_path not in existing_abs_paths: - workspace.setdefault("folders", []).append({"path": str(processed_project_path)}) + workspace.setdefault("folders", []).append({"path": str(processed_project_path).replace("\\", "/")}) _save_vscode_workspace(workspace_path, workspace) logger.debug(f"Appended project {project_path} to workspace {workspace_path}.") else: