Skip to content

Commit 6257608

Browse files
committed
Add comment to indicate which folder we're pointing to
1 parent 6ebeb2b commit 6257608

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,10 @@ export class DatabaseUI extends DisposableObject {
366366
if (workspace.workspaceFolders === undefined) {
367367
throw new Error("No workspace folder is open.");
368368
} else {
369-
const codespaceRootFolderUri = workspace.workspaceFolders[0].uri;
370-
369+
// This specifically refers to the database folder in
370+
// https://github.com/github/codespaces-codeql
371371
const uri = Uri.parse(
372-
`${codespaceRootFolderUri}/codeql-tutorial-database`,
372+
`${workspace.workspaceFolders[0].uri}/codeql-tutorial-database`,
373373
);
374374

375375
let databaseItem = this.databaseManager.findDatabaseItem(uri);

0 commit comments

Comments
 (0)