Skip to content

Commit 737a1f5

Browse files
committed
Use existing file path consistently
1 parent 5444a9e commit 737a1f5

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

extensions/ql-vscode/src/helpers.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,7 @@ export async function prepareCodeTour(): Promise<void> {
288288
existsSync(toursFolderPath) &&
289289
!isCodespacesTemplate()
290290
) {
291-
const tutorialWorkspaceUri = Uri.parse(
292-
join(
293-
workspace.workspaceFolders[0].uri.fsPath,
294-
"tutorial.code-workspace",
295-
),
296-
);
291+
const tutorialWorkspaceUri = Uri.parse(tutorialWorkspacePath);
297292
await commands.executeCommand("vscode.openFolder", tutorialWorkspaceUri);
298293
}
299294
}

0 commit comments

Comments
 (0)