Skip to content

Commit 2516a62

Browse files
hvitvedaeisenberg
authored andcommitted
Add missing call to getPrimaryDbscheme in qlpackOfDatabase
1 parent 9ffb3a1 commit 2516a62

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/ql-vscode/src/contextual/queryResolver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export async function qlpackOfDatabase(cli: CodeQLCliServer, db: DatabaseItem):
1616
if (db.contents === undefined)
1717
return undefined;
1818
const datasetPath = db.contents.datasetUri.fsPath;
19-
return await helpers.getQlPackForDbscheme(cli, datasetPath);
19+
const dbscheme = await helpers.getPrimaryDbscheme(datasetPath);
20+
return await helpers.getQlPackForDbscheme(cli, dbscheme);
2021
}
2122

2223

0 commit comments

Comments
 (0)