Skip to content

Commit 1f4790b

Browse files
Use join as it's meant to be used
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
1 parent 28abc1e commit 1f4790b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/ql-vscode/src/local-databases-ui.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,8 @@ export class DatabaseUI extends DisposableObject {
407407
throw new Error("No workspace folder is open.");
408408
} else {
409409
const tutorialQueriesPath = join(
410-
`${workspace.workspaceFolders[0].uri.fsPath}/tutorial-queries`,
410+
workspace.workspaceFolders[0].uri.fsPath,
411+
"tutorial-queries",
411412
);
412413
const cli = this.queryServer?.cliServer;
413414
if (!cli) {

0 commit comments

Comments
 (0)