Add missing call to getPrimaryDbscheme in qlpackOfDatabase
This commit is contained in:
committed by
Andrew Eisenberg
parent
9ffb3a14c7
commit
2516a62469
@@ -16,7 +16,8 @@ export async function qlpackOfDatabase(cli: CodeQLCliServer, db: DatabaseItem):
|
||||
if (db.contents === undefined)
|
||||
return undefined;
|
||||
const datasetPath = db.contents.datasetUri.fsPath;
|
||||
return await helpers.getQlPackForDbscheme(cli, datasetPath);
|
||||
const dbscheme = await helpers.getPrimaryDbscheme(datasetPath);
|
||||
return await helpers.getQlPackForDbscheme(cli, dbscheme);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user