Use existing file path consistently
This commit is contained in:
@@ -288,12 +288,7 @@ export async function prepareCodeTour(): Promise<void> {
|
|||||||
existsSync(toursFolderPath) &&
|
existsSync(toursFolderPath) &&
|
||||||
!isCodespacesTemplate()
|
!isCodespacesTemplate()
|
||||||
) {
|
) {
|
||||||
const tutorialWorkspaceUri = Uri.parse(
|
const tutorialWorkspaceUri = Uri.parse(tutorialWorkspacePath);
|
||||||
join(
|
|
||||||
workspace.workspaceFolders[0].uri.fsPath,
|
|
||||||
"tutorial.code-workspace",
|
|
||||||
),
|
|
||||||
);
|
|
||||||
await commands.executeCommand("vscode.openFolder", tutorialWorkspaceUri);
|
await commands.executeCommand("vscode.openFolder", tutorialWorkspaceUri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user