Use existing file path consistently

This commit is contained in:
Elena Tanasoiu
2023-03-21 08:38:23 +00:00
parent 5444a9e55e
commit 737a1f5c37

View File

@@ -288,12 +288,7 @@ export async function prepareCodeTour(): Promise<void> {
existsSync(toursFolderPath) &&
!isCodespacesTemplate()
) {
const tutorialWorkspaceUri = Uri.parse(
join(
workspace.workspaceFolders[0].uri.fsPath,
"tutorial.code-workspace",
),
);
const tutorialWorkspaceUri = Uri.parse(tutorialWorkspacePath);
await commands.executeCommand("vscode.openFolder", tutorialWorkspaceUri);
}
}